]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/enum3.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / enum3.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/enum3.C b/gcc/testsuite/g++.old-deja/g++.other/enum3.C
deleted file mode 100644 (file)
index c4303f6..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// Build don't link:
-
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 28 Feb 2001 <nathan@codesourcery.com>
-
-// Bug 338 and DR 128. Allow static cast to convert between enums.
-
-enum E1 {e1};
-enum E2 {e2};
-
-E2 Foo (E1 e)
-{
-  return static_cast <E2> (e);
-}