Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/memtemp15.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
11 void f()
12 {
13 S<int> s;
14 s.foo(3);
15 s.foo("hello");
16 }