1// PR691
2// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3// CHECK: call i8* @llvm.stacksave()
4
5void test(int N) {
6  int i;
7  for (i = 0; i < N; ++i) {
8    int VLA[i];
9    external(VLA);
10  }
11}
12