[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Frontend / fwarn-stack-size.c
blob7bffbbd5b0b36fba86834389c48482294c000caf
1 // RUN: %clang_cc1 -fwarn-stack-size=42 -emit-llvm -o - %s | FileCheck %s
2 void foo(void) {}
3 // CHECK: define {{.*}} @foo() [[ATTR:#[0-9]+]] {
4 // CHECK: attributes [[ATTR]] = {{.*}} "warn-stack-size"="42"