1 // Copyright (C) 2001 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
7 template <class T> struct B {};
10 template <template <class, class> class TT> // { dg-error "provided" }
13 TT<int> y; // { dg-error "number|type" }
16 template <class T> struct C
18 X<T::template B> x; // { dg-error "type" }
23 C<A> c; // { dg-error "instantiated" }