* testsuite/libgomp.fortran/vla7.f90: Add -w to options.
[official-gcc.git] / gcc / testsuite / gcc.dg / align-1.c
blob187eb5271d28bb50ad3273b15131b4e7b5630b3c
1 /* PR java/10145
2 Test that requesting an alignment of 1 does not increase the alignment
3 of a long long field.
5 { dg-do run }
6 { dg-options "" }
7 */
9 extern void abort (void);
11 struct A
13 char c;
14 long long i;
17 struct B
19 char c;
20 long long i __attribute ((__aligned__ (1)));
23 int main ()
25 if (sizeof (struct A) != sizeof (struct B))
26 abort ();
27 return 0;