Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.mike/for3.C

raw
1 // { dg-do assemble }
2 // { dg-options "-Wshadow" }
3
4 int
5 main(int i) { // { dg-warning "" } shadowed decl
6 for(int i=1; i < 3; i++); // { dg-warning "" } declaration of
7 for(int i=1; i < 3; i++); // { dg-warning "" } declaration of
8 for(int j=1; j < 3; j++);
9 for(int j=1; j < 3; j++);
10 }