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