aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1998-01-30 12:04:34 +0000
committerJason Merrill <jason@yorick.cygnus.com>1998-01-30 12:04:34 +0000
commitd6fb7fb86228857856ecec65b955e5bcae75fe0c (patch)
tree4e2df310520703a3b8864dd41dde4f4b141041e3
parenta41f22186684503b5f933fe5cf6365071a1f0837 (diff)
new
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@17558 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/testsuite/g++.old-deja/g++.other/crash1.C6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/crash1.C b/gcc/testsuite/g++.old-deja/g++.other/crash1.C
new file mode 100644
index 00000000000..f7caa2f00ba
--- /dev/null
+++ b/gcc/testsuite/g++.old-deja/g++.other/crash1.C
@@ -0,0 +1,6 @@
+class A
+{
+ enum B { ONE, TWO, THREE };
+};
+
+class A::B; // ERROR - A::B is not a class type