Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2006-01-13-StackSave.c
blob49df0faf76d3c0682f7b3d5d650e446e33839e15
1 // PR691
2 // RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
3 // CHECK: call ptr @llvm.stacksave.p0()
5 extern void external(int[*]);
7 void test(int N) {
8 int i;
9 for (i = 0; i < N; ++i) {
10 int VLA[i];
11 external(VLA);