OSDN Git Service

cp:
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / friend40.C
1 // Build don't link:
2 // Origin: Jason Merrill <jason@cygnus.com>
3 // Special g++ Options: -Wno-non-template-friend
4
5 template<class T> struct A
6 {
7   friend void f ();
8 };
9
10 A<short> a;
11 A<int> b;
12