aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/niklas02.C
blob: b4d300deaed52d82604a898191563aa625fee06c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Build don't link: 

struct B { int foo (); };
int B::foo() { return 37; }

template <class A> struct X {
  void f(int);
};

template <class A> void X<A>::f (int jj)
{}

X<int> x;

void xxx () { x.f (1); }