3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 15 Aug 2003 <nathan@codesourcery.com>
6 // checked instantiated bases in wrong scope.
10 template<class T> struct X { };
12 template<class T> class Base
19 struct Derived : Base<T>
21 typedef Base<T> Parent;
22 typedef typename Parent::H H;
24 class Nested : public X<H> {};
31 void Foo (Derived<char> &x)