Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / typename21.C
blobbd15b567a29aed4deb6dbb5f844346b522175ace
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // Origin: Mark Mitchell <mark@codesourcery.com>
5 template <class T>
6 struct S1 {
7   typedef T X;
8 };
10 template <class T>
11 struct B {
12   typedef T I;
15 template <class T>
16 struct S2 : public B<T> {
17   struct I {};
19   typedef typename S1<I>::X IX;
21   void f(IX);
24 template <class T>
25 void S2<T>::f(IX) {}