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