1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/FrontendC/2006-01-13-StackSave.c
2009-12-05 00:02:37 +00:00

12 lines
205 B
C

// PR691
// RUN: %llvmgcc %s -S -o - | 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);
}
}