]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/pr32126.C
re PR c++/34055 (ICE with invalid specialization of variadic template)
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr32126.C
1 // { dg-options "-std=c++0x" }
2 template<typename...> struct A;
3
4 template<typename...T> struct A<T> // { dg-error "not expanded|T|" }
5 { // { dg-error "not expanded|T|" }
6 static int i;
7 };
8
9 A<char> a; // { dg-error "incomplete" }
10 A<int> b; // { dg-error "incomplete" }