// { dg-do assemble } struct B { int foo (); }; int B::foo() { return 37; } template struct X { void f(); }; template void X::f () {} X x; void xyzzy () { x.f (); }