llvm-project/clang/test/CodeGen/forceinline.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
227 B
C
Raw Normal View History

// RUN: %clang_cc1 -triple i686-win32 -emit-llvm -fms-extensions < %s | FileCheck %s
void bar(void) {
}
// CHECK-NOT: foo
__forceinline void foo(void) {
bar();
}
void i_want_bar(void) {
// CHECK: call void @bar
foo();
}