☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
shadow1.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/shadow1.C
code
plain
raw
1
// { dg-do assemble }
2
// { dg-options "-Wshadow" }
3
4
class x {
5
public:
6
void fun();
7
private:
8
int foo;
9
};
10
11
void x::fun() { }
12
13
int
14
main ()
15
{
16
float foo;
17
return 0;
18
}