[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / stack-usage.c
blob7256707040f9cda8fdd4c9d40125b4e92544f100
1 // RUN: %clang -target aarch64-unknown %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ABSENT
2 // CHECK-ABSENT-NOT: "-stack-usage-file"
4 // RUN: %clang -target aarch64-unknown -fstack-usage %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-PRESENT
5 // CHECK-PRESENT: "-stack-usage-file"
7 int foo() { return 42; }