Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
pr58898.C
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
}