aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/consistency.vlad/layout/a-char.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/consistency.vlad/layout/a-char.c')
-rw-r--r--gcc/testsuite/consistency.vlad/layout/a-char.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/consistency.vlad/layout/a-char.c b/gcc/testsuite/consistency.vlad/layout/a-char.c
deleted file mode 100644
index d13d19d30ef..00000000000
--- a/gcc/testsuite/consistency.vlad/layout/a-char.c
+++ /dev/null
@@ -1,15 +0,0 @@
-#include <stdio.h>
-
-static char a [10];
-static char e [0]; /* GCC only */
-
-int main (void) {
- printf ("+++Array char:\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;
-}