aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr32115.C
blob: 5722aa3365c42d042db5ced853ab73bb925087e6 (plain)
1
2
3
4
// { dg-do compile { target c++11 } }
template<typename ...T, int = 0> struct A {}; // { dg-error "end of" }

A<int> a; // { dg-error "mismatch|expected|invalid" }