Debian Codegraph @

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

raw
1 // { dg-do link }
2 // GROUPS passed templates membertemplates
3 extern "C" int printf(const char*, ...);
4
5 template <class T>
6 struct S
7 {
8 template <class U>
9 void g(U u)
10 { i; }
11
12 int i;
13 };
14
15 int main()
16 {
17 S<char> s;
18 s.g(3);
19 }