Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
pr77548.C
blob: 842a9e9d28beaa2d23921e9c953ad62c587cc8fb [
file
] [
log
] [
blame
]
// PR c++/77548
// { dg-do compile }
// { dg-options "" }
struct
S
{
int
f
(
void
)
{
return
0
;
}
int
f
(
int
)
{
return
f
?
:
1
;
}
// { dg-error "cannot resolve overloaded function" }
};