OSDN Git Service

new testcases
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / niklas02.C
1 // Build don't link: 
2
3 struct B { int foo (); };
4 int B::foo() { return 37; }
5
6 template <class A> struct X {
7   void f(int);
8 };
9
10 template <class A> void X<A>::f (int jj)
11 {}
12
13 X<int> x;
14
15 void xxx () { x.f (1); }