X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Fstrct-pack-4.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2Fstrct-pack-4.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=56d315f47ff07d7c7cf23b72a8de95cbacaa1367;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 index 56d315f4..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/strct-pack-4.c +++ /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); -} -