]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/bf-pack-1.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / bf-pack-1.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/bf-pack-1.c b/gcc/testsuite/gcc.c-torture/execute/bf-pack-1.c
deleted file mode 100644 (file)
index ca3b1db..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-struct foo
-{
-  unsigned half:16;
-  unsigned long whole:32 __attribute__ ((packed));
-};
-
-f (struct foo *q)
-{
-  if (q->half != 0x1234)
-    abort ();
-  if (q->whole != 0x56789abcL)
-    abort ();
-}
-
-main ()
-{
-  struct foo bar;
-
-  bar.half = 0x1234;
-  bar.whole = 0x56789abcL;
-  f (&bar);
-  exit (0);
-}