Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg4.C
blob: 978b3634aabaa183f1a7e0127989e1c26f09774b [
file
] [
log
] [
blame
]
// Bug: f1 and f2 are treated as overloaded when they aren't.
// Build don't link:
int
i
;
void
f1
(
double
)
{
}
void
f2
(
double
)
{
}
void
test
()
{
i
?
f1
:
f2
;
// gets bogus error - improper overloading
}