]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/enum8.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / enum8.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/enum8.C b/gcc/testsuite/g++.old-deja/g++.jason/enum8.C
deleted file mode 100644 (file)
index 0a3220f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-// Bug: the switch fails on the Alpha because folding ef - 1 fails.
-
-enum foo { one=1, thirty=30 };
-
-int f (enum foo ef)
-{
-  switch (ef)
-    {
-    case one:
-    case thirty:
-      return 0;
-    default:
-      return 1;
-    }
-}
-
-int main ()
-{
-  return f (one);
-}