1// { dg-do assemble } 2// GROUPS passed templates membertemplates 3template <class T> 4struct S 5{ 6 template <class U> 7 void foo(U) {} 8}; 9 10 11void f() 12{ 13 S<int> s; 14 s.foo(3); 15 s.foo("hello"); 16} 17