]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/gcc.c-torture/execute/strct-pack-4.c
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / gcc.c-torture / execute / strct-pack-4.c
diff --git a/gcc/testsuite/gcc.c-torture/execute/strct-pack-4.c b/gcc/testsuite/gcc.c-torture/execute/strct-pack-4.c
deleted file mode 100644 (file)
index 56d315f..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-typedef struct
-{
-  unsigned char a __attribute__((packed));
-  unsigned short b __attribute__((packed));
-} three_char_t;
-
-unsigned char
-my_set_a (void)
-{
-  return 0xab;
-}
-
-unsigned short
-my_set_b (void)
-{
-  return 0x1234;
-}
-
-main ()
-{
-  three_char_t three_char;
-
-  three_char.a = my_set_a ();
-  three_char.b = my_set_b ();
-  if (three_char.a != 0xab || three_char.b != 0x1234)
-    abort ();
-  exit (0);
-}
-