llvm-6502/test/FrontendC/vla-3.c
Eric Christopher 18a41c92c3 Testcase for llvm-gcc commit r128230.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128242 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 21:59:03 +00:00

12 lines
206 B
C

// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 16"
void adr(char *);
void vlaalign(int size)
{
char __attribute__((aligned(16))) tmp[size+32];
char tmp2[size+16];
adr(tmp);
}