testcase for recent checkin
From-SVN: r31656
This commit is contained in:
parent
e905ac8a1a
commit
0d5b6c4bda
9
gcc/testsuite/g++.old-deja/g++.mike/for3.C
Normal file
9
gcc/testsuite/g++.old-deja/g++.mike/for3.C
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
// Special g++ Options: -Wshadow
|
||||||
|
|
||||||
|
int
|
||||||
|
main(int i) {
|
||||||
|
for(int i=1; i < 3; i++); // WARNING - shadows parm
|
||||||
|
for(int i=1; i < 3; i++); // WARNING - shadows parm
|
||||||
|
for(int j=1; j < 3; j++);
|
||||||
|
for(int j=1; j < 3; j++);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user