Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // Origin: Mark Mitchell <[email protected]>
3
4 template <class T>
5 struct S1
6 {
7 template <class U>
8 struct S2
9 {
10 S2(U);
11 };
12
13 template <class U>
14 void f(U u)
15 {
16 S2<U> s2u(u);
17 }
18 };
19
20 void g()
21 {
22 S1<int> s1;
23 s1.f(3.0);
24 }
25