aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/g++.dg/other/enum1.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/g++.dg/other/enum1.C')
-rw-r--r--gcc-4.8.1/gcc/testsuite/g++.dg/other/enum1.C19
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/g++.dg/other/enum1.C b/gcc-4.8.1/gcc/testsuite/g++.dg/other/enum1.C
deleted file mode 100644
index aa5c976ac..000000000
--- a/gcc-4.8.1/gcc/testsuite/g++.dg/other/enum1.C
+++ /dev/null
@@ -1,19 +0,0 @@
-// PR c++/6037
-// This testcase ICEd because start_enum expected pushtag to insert
-// the tag always into current binding level.
-
-struct A
-{
- ~A () { }
-};
-
-struct B
-{
- void foo ()
- {
- switch (0) { default: ; }
- A a;
- enum C { };
- (void) a;
- }
-};