| Bob Wilson | 964179c | 2010-07-30 18:52:47 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc_only -std=gnu99 %s -S |& grep {warning: alignment for} |
| Dale Johannesen | cf0287e | 2010-07-30 21:09:48 +0000 | [diff] [blame] | 2 | // ppc does not support this feature, and gets a fatal error at runtime. |
| 3 | // XFAIL: powerpc | ||||
| Eric Christopher | e34b383 | 2010-07-14 22:26:35 +0000 | [diff] [blame] | 4 | |
| 5 | int foo(int a) | ||||
| 6 | { | ||||
| 7 | int var[a] __attribute__((__aligned__(32))); | ||||
| 8 | return 4; | ||||
| 9 | } | ||||