Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg5.C
blob: 11ee9c035567cfe96318a70a4d9f9bec4eb5bb26 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-ansi -pedantic-errors -w" }
// Bug: func is treated as an overloaded function when it isn't.
int
*
func
()
{
return
0
;
}
void
test
()
{
*
func
;
// { dg-bogus "" } improper overloading
}