Debian Codegraph @

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

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