blob: 77f78a5e3af743da66888961a15f472adc2ba3a1 [file] [log] [blame]
Bob Wilson964179c2010-07-30 18:52:47 +00001// RUN: %llvmgcc_only -std=gnu99 %s -S |& grep {warning: alignment for}
Dale Johannesencf0287e2010-07-30 21:09:48 +00002// ppc does not support this feature, and gets a fatal error at runtime.
3// XFAIL: powerpc
Eric Christophere34b3832010-07-14 22:26:35 +00004
5int foo(int a)
6{
7 int var[a] __attribute__((__aligned__(32)));
8 return 4;
9}