summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/enum3.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/enum3.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.brendan/enum3.C15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/enum3.C b/gcc/testsuite/g++.old-deja/g++.brendan/enum3.C
deleted file mode 100644
index 38b7d3cdae8..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.brendan/enum3.C
+++ /dev/null
@@ -1,15 +0,0 @@
-// Build don't link:
-// GROUPS passed enums
-enum foo
-{
- x = 0
-};
-
-enum bar
-{
- // this used to say `x' wasn't a constant, because build_enumerator
- // was getting the value of x wrapped around a NOP_EXPR. It now
- // strips them off before working on it, so we shouldn't get any
- // errors for this.
- y = (x + 0x0000)
-};