Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg4.C
blob: fbc3841ddd3e028b2aae556d664a0810f015e6a9 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-ansi -pedantic-errors -w" }
// Bug: f1 and f2 are treated as overloaded when they aren't.
int
i
;
void
f1
(
double
)
{
}
void
f2
(
double
)
{
}
void
test
()
{
i
?
f1
:
f2
;
// { dg-bogus "" } improper overloading
}