3 // { dg-options "-std=c++2a" }
5 struct undeclared<int> { }; // { dg-error "not a class template" }
10 int foo (); // { dg-warning "empty parentheses" }
12 a = foo<; // { dg-error "invalid template-argument-list|invalid" }
13 a = foo < b; // { dg-error "invalid template-argument-list|invalid" }
14 a = foo<b>; // { dg-error "after template-argument-list|invalid" }
15 a = foo<b>(; // { dg-error "expected" }
16 a = foo<b>(1; // { dg-error "expected" }
17 a = foo<b>(1); // { dg-error "no matching" }