[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / CodeGen / always-inline.c
blob62a1089b9f28bc12e0e54a6c2d30bf802c81c771
1 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -fno-inline -emit-llvm %s -o - | FileCheck %s
4 // CHECK-NOT: foo
6 void bar(void) {
9 inline void __attribute__((__always_inline__)) foo(void) {
10 bar();
13 void i_want_bar(void) {
14 foo();