1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Testcase for llvm-gcc commit r128230.

llvm-svn: 128242
This commit is contained in:
Eric Christopher 2011-03-24 21:59:03 +00:00
parent 69bc7c288b
commit d0fd06aeda

11
test/FrontendC/vla-3.c Normal file
View File

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