Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/align-1.c @ 118:fd00160c1b76
ifdef TARGET_64BIT
author | mir3636 |
---|---|
date | Tue, 27 Feb 2018 15:01:35 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR java/10145 Test that requesting an alignment of 1 does not increase the alignment of a long long field. { dg-do run } { dg-options "" } */ extern void abort (void); struct A { char c; long long i; }; struct B { char c; long long i __attribute ((__aligned__ (1))); }; int main () { if (sizeof (struct A) != sizeof (struct B)) abort (); return 0; }