Debian Codegraph @

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

raw
1 // { dg-do assemble }
2 // Origin: Mark Mitchell <[email protected]>
3
4 template <class T>
5 struct S {
6 template <class U>
7 struct I {
8 typedef U X;
9
10 X f();
11 };
12 };
13
14
15 template <class T>
16 template <class U>
17 typename S<T>::template I<U>::X S<T>::I<U>::f() {}