aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/pr63495.c
blob: 7f02f37d8cea28b236bed71ea12cb27f5a09c1be (plain)
1
2
3
4
5
6
/* PR c/63495 */
/* { dg-do compile { target { i?86-*-linux* x86_64-*-linux* } } } */
/* { dg-options "-std=gnu11" } */

struct __attribute__ ((aligned (8))) S { char c; };
_Static_assert (_Alignof (struct S) >= 8, "wrong alignment");