Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // { dg-options "" }
3 // Origin: Mark Mitchell <[email protected]>
4
5 void X();
6
7 template <class T>
8 struct J {
9 typedef T X;
10 };
11
12 template <class T>
13 struct S {
14 typedef T X;
15
16 struct I : public J<X> {
17 static X* f();
18 };
19 };
20
21 S<int> si;