PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr34058.C
blobdc9e8364fef91d9dc59b629f99d22209251339ad
1 // PR c++/34058
2 // { dg-do compile { target c++11 } }
4 template <typename...T> struct A
6   typedef T X;  // { dg-error "not expanded|T" }
7 };
9 A<int> a;