1 // Copyright (C) 2001 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
7 template <class T, class U> class B {};
10 template <template <class> class TT> struct X
15 template <class T> struct C
17 X<T::template B> x; // { dg-error "type" "" }
22 C<A> c; // { dg-error "instantiated" }