summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/niklas02.C
blob: d47b5d1e1422c7a4efdab3c74a73a85f340711d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }

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); }