Eric Christopher | 14904ce | 2010-07-14 23:12:58 +0000 | [diff] [blame] | 1 | // RUN: true |
2 | // %llvmgcc -std=gnu99 %s -S |& grep {error: "is greater than the stack alignment" } | ||||
Eric Christopher | d26e89d | 2010-07-14 22:26:35 +0000 | [diff] [blame] | 3 | |
4 | int foo(int a) | ||||
5 | { | ||||
6 | int var[a] __attribute__((__aligned__(32))); | ||||
7 | return 4; | ||||
8 | } |