Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / qualttp4.C
blob04335f16cc8b7667a66c78005e762e466c12a846
1 // Copyright (C) 2001 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3 // { dg-do compile }
5 struct A
7         template <class T> struct B {};
8 };
10 template <template <class, class> class TT> // { dg-error "provided" }
11 struct X
13         TT<int> y; // { dg-error "number|type" }
16 template <class T> struct C
18         X<T::template B> x; // { dg-error "type" }
21 int main()
23         C<A> c; // { dg-error "instantiated" }