2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename22.C
blobce411bb6c8b92b5eec635155f0379f4592a15a46
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
4 template <class T>
5 struct S {
6   template <class U>
7   struct I { 
8     typedef U X;
10     X f();
11   };
15 template <class T>
16 template <class U>
17 typename S<T>::template I<U>::X S<T>::I<U>::f() {}