PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr32126.C
blobdac1da563ae13ad7f4386aa1a7505b59f7f99613
1 // { dg-do compile { target c++11 } }
2 template<typename...> struct A;
4 template<typename...T> struct A<T> // { dg-error "not expanded|T|" }
6  static int i;
7 };
9 A<char> a; // { dg-error "incomplete" }
10 A<int> b; // { dg-error "incomplete" }