aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/pr39323-1.c
blob: 5e3baec4b6030d79ee0dc941ee87a4e83ef3c750 (plain)
1
2
3
4
5
/* PR c/39323 */
/* { dg-do compile { target *-*-linux* *-*-gnu* } } */

int foo __attribute__ ((aligned(1 << 29))) =  20; /* { dg-error "requested alignment is too large" } */
typedef int __attribute__ ((aligned(1 << 29))) int29; /* { dg-error "requested alignment is too large" } */