PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / template / qualttp18.C
blob0a980f463d50c9374d2519114c22f3b28e7fd1df
1 // Copyright (C) 2001, 2002 Free Software Foundation
2 // Contributed by Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3 // { dg-do compile }
5 struct A
7         template <class T> class B {};
8 };
10 template <template <class> class TT> struct X
12         TT<int> y;
15 struct C
17         X<A::template B> x;  // { dg-error "template" "" { target { ! c++11 } } }
20 int main()
22         C c;