X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fconsistency.vlad%2Flayout%2Ff-22-2-19.c;fp=gcc%2Ftestsuite%2Fconsistency.vlad%2Flayout%2Ff-22-2-19.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=75a31fd71d5c58e76359d4557a63f3aaa244a79f;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/consistency.vlad/layout/f-22-2-19.c b/gcc/testsuite/consistency.vlad/layout/f-22-2-19.c deleted file mode 100644 index 75a31fd7..00000000 --- a/gcc/testsuite/consistency.vlad/layout/f-22-2-19.c +++ /dev/null @@ -1,31 +0,0 @@ -#include - -struct sss{ - int i1:22; - int i2:2; - int i3:19; -}; - -static union u{ - struct sss sss; - unsigned char a[sizeof (struct sss)]; -} u; - -int main (void) { - int i; - for (i = 0; i < sizeof (struct sss); i++) - u.a[i] = 0; - u.sss.i1 = 4194303.0; - for (i = 0; i < sizeof (struct sss); i++) - printf ("%x ", u.a[i]); - printf ("\n"); - u.sss.i2 = 3.0; - for (i = 0; i < sizeof (struct sss); i++) - printf ("%x ", u.a[i]); - printf ("\n"); - u.sss.i3 = 524287.0; - for (i = 0; i < sizeof (struct sss); i++) - printf ("%x ", u.a[i]); - printf ("\n"); - return 0; -}