Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/friend40.C

raw
1 // { dg-do assemble }
2 // { dg-options "-Wno-non-template-friend" }
3 // Origin: Jason Merrill <[email protected]>
4
5 template<class T> struct A
6 {
7 friend void f ();
8 };
9
10 A<short> a;
11 A<int> b;
12