mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-19 19:31:50 +00:00
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:
parent
a09e67af33
commit
de8d40503e
10
test/FrontendC/vla-2.c
Normal file
10
test/FrontendC/vla-2.c
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user