// PR c++/58898 template struct Foo { Foo() { int t(int()); // { dg-warning "parentheses were disambiguated" } } }; int main() { int t(int()); // { dg-warning "parentheses were disambiguated" } Foo<> a; // Error }