☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
rfg5.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/rfg5.C
code
plain
raw
1
// { dg-do assemble }
2
// { dg-options "-ansi -pedantic-errors -w" }
3
// Bug: func is treated as an overloaded function when it isn't.
4
5
int *func () { return 0; }
6
7
void
8
test ()
9
{
10
*func; // { dg-bogus "" } improper overloading
11
}