llvm-6502/test/FrontendC/vla-2.c
Eric Christopher de8d40503e Testcase for llvm-gcc commit r108910.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108918 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-20 20:32:47 +00:00

11 lines
182 B
C

// RUN: %llvmgcc -std=gnu99 %s -S -o - | grep ".*alloca.*align 32"
extern void bar(int[]);
void foo(int a)
{
int var[a] __attribute__((__aligned__(32)));
bar(var);
return;
}