]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.jason/enum3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / enum3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/enum3.C b/gcc/testsuite/g++.old-deja/g++.jason/enum3.C
deleted file mode 100644 (file)
index 9e25570..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link:
-// Special g++ Options: -Wall
-
-enum tristate { no = -1, maybe, yes };
-
-tristate
-tristate_satisfies (register tristate const t1, register tristate const t2)
-{
-  switch (t1)
-    {
-    case no:
-      return (tristate) -t2;
-    case maybe:
-      return yes;
-    case yes:
-      return t2;
-    }
-  return maybe;
-}