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

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" } */