Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // GROUPS passed templates membertemplates
3 template <class X>
4 struct S
5 {
6 template <class T>
7 void f(T t1, T t = T())
8 {}
9 };
10
11
12 void foo()
13 {
14 S<int> si;
15 si.f(3);
16 }