Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / ext / align1.C
blob6c960c396de7514b2a5315939aa983d55ede65fa
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));
16 int
17 main (void)
19   printf ("%d %d\n", __alignof (a1), __alignof (f1));
20   return (__alignof (a1) < __alignof (f1));