]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/ctors2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / ctors2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/ctors2.C b/gcc/testsuite/g++.old-deja/g++.brendan/ctors2.C
deleted file mode 100644 (file)
index 6f1a36a..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-// GROUPS passed constructors
-// Check that sub-words sized class members are correctly set
-// by constructors.
-
-extern "C" int printf (const char *, ...); 
-
-struct base {
-       int f1 : 8;
-       int f2 : 8;
-       base (int arg1, int arg2);
-};
-
-
-base global_base(0x55, 0x7e);
-
-int main ()
-{
-       if ((global_base.f1 != 0x55) || (global_base.f2 != 0x7e))
-         { printf ("FAIL\n"); return 1; }
-       else
-         printf ("PASS\n");
-}
-
-base::base(int arg1, int arg2)
-{
-       f1 = arg1;
-       f2 = arg2;
-};