c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / crash129.C
blob3bb9e573fedbddce766c710b2d3b91143847a661
1 // PR c++/79626
3 template <class a, class> struct b
4 { b(); b(b &); b(b< a, a >); };  // { dg-error "16:invalid constructor" }
5 int c(b< int, int >(b< int, int >());  // { dg-error "" }