]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/enum5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / enum5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/enum5.C b/gcc/testsuite/g++.old-deja/g++.other/enum5.C
deleted file mode 100644 (file)
index 8fb3c4d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Ben Elliston <bje@redhat.com>
-
-// PR 80: Packed enums use minimum required storage.
-// excess errors test - XFAIL *-*-*
-
-extern "C" void abort();
-
-enum numbers { one, two, three } __attribute__ ((packed)) nums;
-enum colours { red = 1000, green, blue } __attribute__ ((packed)) cols;
-enum __attribute__ ((packed)) conditions { fine, rain, cloudy } forecast;
-
-int
-main()
-{
-  if (sizeof (nums) != 1)
-    abort ();
-
-  if (sizeof (cols) != 2)
-    abort ();
-
-  if (sizeof (forecast) != 1)
-    abort ();
-
-  return 0;
-}