2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / inject2.C
blob3437ab15e4823109d1209cbd088c19713f33373c
1 // { dg-do assemble  }
2 // { dg-options "-Wno-non-template-friend" }
3 // Origin: Mark Mitchell <mark@codesourcery.com>
5 template<int I>
6 class C {
7     friend void f(struct X *);
8 };
10 template class C<0>;
12 class D {
13     friend void f(struct X*);