From 0d5b6c4bda53f80a8cd80eb8b0fe17893eee4d08 Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Thu, 27 Jan 2000 23:19:47 +0000 Subject: [PATCH] testcase for recent checkin From-SVN: r31656 --- gcc/testsuite/g++.old-deja/g++.mike/for3.C | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gcc/testsuite/g++.old-deja/g++.mike/for3.C diff --git a/gcc/testsuite/g++.old-deja/g++.mike/for3.C b/gcc/testsuite/g++.old-deja/g++.mike/for3.C new file mode 100644 index 00000000000..a8276a4133b --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.mike/for3.C @@ -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++); +}