1 // Test that __attribute__ ((aligned)) is preserved.
2 // The alignment used to be 64 but Cygwin does not
3 // support an alignment greater than 16 and COFF
4 // not support an alignment greater than 4.
6 extern "C" int printf (const char *, ...);
8 typedef float at[4][4] __attribute__ ((aligned));
10 float dummy[4][4][15];
12 static volatile at a1[15];
14 float f1 __attribute__ ((aligned));
19 printf ("%d %d\n", __alignof (a1), __alignof (f1));
20 return (__alignof (a1) < __alignof (f1));