llvm-6502/test/CFrontend/2006-01-13-StackSave.c
Chris Lattner 1787ee31ed testcase for PR691
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25298 91177308-0d34-0410-b5e6-96231b3b80d8
2006-01-13 22:05:36 +00:00

13 lines
189 B
C

// 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);
}
}