FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / typename18.C
blobed423e77becbcd2c805dc0dd2c281bc77d3d82f3
1 // Build don't link:
2 // Special g++ Options:
3 // Origin: Mark Mitchell <mark@codesourcery.com>
5 void X();
7 template <class T>
8 struct J {
9   typedef T X;
12 template <class T>
13 struct S {
14   typedef T X;
16   struct I : public J<X> {
17     static X* f();
18   };
21 S<int> si;