☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
scoping2.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/scoping2.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: A function is not hidden properly by a use of its name in an
3
// inner scope.
4
5
struct A
6
{
7
struct B
8
{
9
int f;
10
B() : f(0) {}
11
void g() { f = 0; }
12
};
13
void f();
14
void f(int);
15
};