2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / consistency.vlad / layout / a-of-s-float.c
blob8b1a4f251e333fc4148235afef28248b793e4661
1 #include <stdio.h>
3 static struct sss{
4 float f;
5 } a[10];
7 int main (void) {
8 printf ("++++Array of struct with float:\n");
9 printf ("size=%d,align=%d,displ-a[5]=%d,align-a[5]=%d\n",
10 sizeof (a), __alignof__ (a), (char*)&a[5] - (char*)a, __alignof__ (a[5]));
11 return 0;