Debian Codegraph @

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

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