summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr66818.c
blob: d90394cab2e9b2f22bde02cbf4b5d299cdd15013 (plain)
1
2
3
4
5
/* { dg-do compile { target ia32 } } */
/* { dg-options "-O2 -mno-sse -mno-mmx -miamcu" } */

struct dummy { int x __attribute__((aligned)); };
int array[__alignof__(struct dummy) == 4 ? 1 : -1];