2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / t31.C
blob4e3718bc762e7647ec0060a91d4183d1ffa24720
1 // { dg-do assemble  }
3 struct B { int foo (); };
4 int B::foo() { return 37; }
6 template <class A> struct X {
7   void f();
8 };
10 template <class A> void X<A>::f ()
13 X<int> x;
15 void xyzzy () {
16   x.f ();