Debian Codegraph @

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

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