1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -fno-inline -emit-llvm %s -o - | FileCheck %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc // CHECK-NOT: foo 5*f4a2713aSLionel Sambuc bar()6*f4a2713aSLionel Sambucvoid bar() { 7*f4a2713aSLionel Sambuc } 8*f4a2713aSLionel Sambuc foo()9*f4a2713aSLionel Sambucinline void __attribute__((__always_inline__)) foo() { 10*f4a2713aSLionel Sambuc bar(); 11*f4a2713aSLionel Sambuc } 12*f4a2713aSLionel Sambuc i_want_bar()13*f4a2713aSLionel Sambucvoid i_want_bar() { 14*f4a2713aSLionel Sambuc foo(); 15*f4a2713aSLionel Sambuc } 16