aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/scope1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/scope1.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/scope1.C8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/scope1.C b/gcc/testsuite/g++.old-deja/g++.brendan/scope1.C
deleted file mode 100644
index babbb018396..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.brendan/scope1.C
+++ /dev/null
@@ -1,8 +0,0 @@
-// Build don't link:
-// GROUPS passed scoping
-int f (int i) {
- if (i)
- for (int j = i; j; j--)
- ;
- return j; // error: j should only be in scope inside the body of `for'// ERROR - .*
-} // ERROR - non-void