Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/shadow1.C

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 }