Testcase for llvm-gcc commit r108910.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108918 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2010-07-20 20:32:47 +00:00
parent a09e67af33
commit de8d40503e

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;
}