llvm-6502/test/FrontendC/vla-1.c

8 lines
170 B
C
Raw Normal View History

// RUN: %llvmgcc -std=gnu99 %s -S |& grep {error: "is greater than the stack alignment" }
int foo(int a)
{
int var[a] __attribute__((__aligned__(32)));
return 4;
}