1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2024-12-14 11:32:34 +00:00
llvm-6502/test/CFrontend/2006-01-13-StackSave.c
2007-02-09 15:15:21 +00:00

12 lines
215 B
C

// PR691
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
// RUN: llvm-dis | grep llvm.stacksave
void test(int N) {
int i;
for (i = 0; i < N; ++i) {
int VLA[i];
external(VLA);
}
}