llvm/test/FrontendC/vla-2.c
Eric Christopher 302313fc09 Update this to use a "valid" alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108985 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-21 04:51:24 +00:00

11 lines
182 B
C

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