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