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