URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [for3.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// { dg-options "-Wshadow" }
int
main(int i) { // { dg-warning "" } shadowed decl
for(int i=1; i < 3; i++); // { dg-warning "" } declaration of
for(int i=1; i < 3; i++); // { dg-warning "" } declaration of
for(int j=1; j < 3; j++);
for(int j=1; j < 3; j++);
}