X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20001228-1.c;fp=gcc%2Ftestsuite%2Fgcc.c-torture%2Fexecute%2F20001228-1.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=9c93e79f571ff808b7a50c3d83730a5dd57a543b;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/gcc.c-torture/execute/20001228-1.c b/gcc/testsuite/gcc.c-torture/execute/20001228-1.c deleted file mode 100644 index 9c93e79f..00000000 --- a/gcc/testsuite/gcc.c-torture/execute/20001228-1.c +++ /dev/null @@ -1,28 +0,0 @@ -int foo1(void) -{ - union { - char a[sizeof (unsigned)]; - unsigned b; - } u; - - u.b = 0x01; - return u.a[0]; -} - -int foo2(void) -{ - volatile union { - char a[sizeof (unsigned)]; - unsigned b; - } u; - - u.b = 0x01; - return u.a[0]; -} - -int main(void) -{ - if (foo1() != foo2()) - abort (); - exit (0); -}