2006-01-13 23:05:36 +01:00
|
|
|
// PR691
|
2007-02-09 16:15:21 +01:00
|
|
|
// RUN: %llvmgcc %s -S -o - | llvm-as | opt -std-compile-opts | \
|
|
|
|
// RUN: llvm-dis | grep llvm.stacksave
|
2006-01-13 23:05:36 +01:00
|
|
|
|
|
|
|
void test(int N) {
|
|
|
|
int i;
|
|
|
|
for (i = 0; i < N; ++i) {
|
|
|
|
int VLA[i];
|
|
|
|
external(VLA);
|
|
|
|
}
|
|
|
|
}
|