16 lines · c
1// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s2// RUN: %clang_cc1 -fno-inline -emit-llvm %s -o - | FileCheck %s3 4// CHECK-NOT: foo5 6void bar(void) {7}8 9inline void __attribute__((__always_inline__)) foo(void) {10 bar();11}12 13void i_want_bar(void) {14 foo();15}16