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:
parent
69bc7c288b
commit
d0fd06aeda
11
test/FrontendC/vla-3.c
Normal file
11
test/FrontendC/vla-3.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user