Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/t31.C

raw
1 // { dg-do assemble }
2
3 struct B { int foo (); };
4 int B::foo() { return 37; }
5
6 template <class A> struct X {
7 void f();
8 };
9
10 template <class A> void X<A>::f ()
11 {}
12
13 X<int> x;
14
15 void xyzzy () {
16 x.f ();
17 }