xref: /llvm-project/clang/test/CodeGen/forceinline.c (revision adc402bf3d0565ac2bc7efbdd05f0d846e818041)
1 // RUN: %clang_cc1 -triple i686-win32 -emit-llvm -fms-extensions < %s | FileCheck %s
2 
bar(void)3 void bar(void) {
4 }
5 
6 // CHECK-NOT: foo
foo(void)7 __forceinline void foo(void) {
8   bar();
9 }
10 
i_want_bar(void)11 void i_want_bar(void) {
12 // CHECK: call void @bar
13   foo();
14 }
15