[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / emit-all-decls.c
blob23ab91da961aa8e9af4c1d05452c5db50da97972
1 // RUN: %clang_cc1 -emit-llvm -o %t %s
2 // RUN: not grep "@foo" %t
3 // RUN: %clang_cc1 -femit-all-decls -emit-llvm -o %t %s
4 // RUN: grep "@foo" %t
6 static void foo(void) {