Merge -r 127928:132243 from trunk
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic83.C
blobec6cabd4e4007b86402d731c1a4cdff13ea84ce0
1 // PR c++/31441
2 // { dg-options "-std=gnu++0x" }
4 template<typename> struct A;
6 template<typename... T> struct A<T...> { }; // { dg-error "cannot expand" }
8 A<int> a; // { dg-error "incomplete type" }