Testcase for llvm-gcc commit r108910.

llvm-svn: 108918
This commit is contained in:
Eric Christopher 2010-07-20 20:32:47 +00:00
parent 09c8c9c77c
commit 59463ea0c3

10
test/FrontendC/vla-2.c Normal file
View File

@ -0,0 +1,10 @@
// 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;
}