mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Testcase for llvm-gcc commit r128230.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
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);
|
||||||
|
}
|
Reference in New Issue
Block a user