llvm-project/clang/test/CodeGen/cleanup-stack.c

16 lines
205 B
C
Raw Normal View History

// RUN: clang-cc -emit-llvm %s -o %t &&
2009-03-18 09:10:22 +08:00
// RUN: grep "store i32 0, i32\* %cleanup" %t | count 2
void f(int n) {
int a[n];
{
int b[n];
if (n)
return;
}
if (n)
return;
}