1 2 3 4 5 6
// { dg-do assemble } struct S { friend void f<>(int); // { dg-error "" } does not match any template };