1// { dg-do assemble } 2// GROUPS passed templates 3template <class T> 4struct S 5{ 6}; 7 8 9template <> 10struct S<int> 11{ 12 void foo(); 13}; 14 15 16void S<int>::foo() 17{ 18} 19 20 21void bar() 22{ 23 S<int> si; 24 si.foo(); 25} 26