aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2006-01-13-StackSave.c
blob: ae8d908210165ac8a6090a3021dec876c28d7a6e (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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);
  }
}