mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
testcase for PR691
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25298 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5445dc6a2
commit
1787ee31ed
12
test/CFrontend/2006-01-13-StackSave.c
Normal file
12
test/CFrontend/2006-01-13-StackSave.c
Normal file
@ -0,0 +1,12 @@
|
||||
// RUN: %llvmgcc %s -S -o - | gccas | llvm-dis | grep llvm.stacksave
|
||||
// XFAIL: *
|
||||
|
||||
// PR691
|
||||
|
||||
void test(int N) {
|
||||
int i;
|
||||
for (i = 0; i < N; ++i) {
|
||||
int VLA[i];
|
||||
external(VLA);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user