Testcase for llvm-gcc commit r108910.
[oota-llvm.git] / test / FrontendC / vla-1.c
1 // RUN: true
2 // %llvmgcc -std=gnu99 %s -S |& grep {error: "is greater than the stack alignment" } 
3
4 int foo(int a)
5 {
6   int var[a] __attribute__((__aligned__(32)));
7   return 4;
8 }