pt.c (check_default_tmpl_args): Uses the parameter source location in the diagnostic.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr32115.C
1 // { dg-do compile { target c++11 } }
2 template<typename ...T, int = 0> struct A {}; // { dg-error "end of" }
3
4 A<int> a;