blob: e67011d2fe7962eac9b1df25ec7a4da12d00c4ff [file] [log] [blame]
// PR c++/58898
template <typename = int>
struct Foo
{
Foo()
{
int t(int()); // { dg-warning "parentheses were disambiguated" }
}
};
int main()
{
int t(int()); // { dg-warning "parentheses were disambiguated" }
Foo<> a; // Error
}