Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / consistency.vlad / layout / s-longdouble-pointer.c
blob124d7a7ae6094bd94a74b32dc4db30d37148251f
1 #include <stdio.h>
3 static struct sss{
4 long double f;
5 char * snd;
6 } sss;
8 #define _offsetof(st,f) ((char *)&((st *) 16)->f - (char *) 16)
10 int main (void) {
11 printf ("+++Struct longdouble-pointer:\n");
12 printf ("size=%d,align=%d,offset-longdouble=%d,offset-pointer=%d,\nalign-longdouble=%d,align-pointer=%d\n",
13 sizeof (sss), __alignof__ (sss),
14 _offsetof (struct sss, f), _offsetof (struct sss, snd),
15 __alignof__ (sss.f), __alignof__ (sss.snd));
16 return 0;