X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fconsistency.vlad%2Flayout%2Fa-pointer.c;fp=gcc%2Ftestsuite%2Fconsistency.vlad%2Flayout%2Fa-pointer.c;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=d5c8bffbc063869dd97b08b7e39e93ae469eee8d;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/consistency.vlad/layout/a-pointer.c b/gcc/testsuite/consistency.vlad/layout/a-pointer.c deleted file mode 100644 index d5c8bffb..00000000 --- a/gcc/testsuite/consistency.vlad/layout/a-pointer.c +++ /dev/null @@ -1,15 +0,0 @@ -#include - -static char * a [10]; -static char * e [0]; /* GCC only */ - -int main (void) { - printf ("+++Array pointer:\n"); - printf ("size=%d,align=%d,5th-elem-offset=%d,5th-elem-align=%d\n", - sizeof (a), __alignof__ (a), - (char *) &a[5] - (char *) a, __alignof__ (a[5])); - printf ("size=%d,align=%d,5th-elem-offset=%d,5th-elem-align=%d\n", - sizeof (e), __alignof__ (e), - (char *) &e[5] - (char *) a, __alignof__ (e[5])); - return 0; -}