mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 23:06:06 +00:00

__forceinline is a combination of the inline keyword and __attribute__((always_inline)) llvm-svn: 158653
15 lines
215 B
C
15 lines
215 B
C
// RUN: %clang_cc1 -triple i686-win32 -emit-llvm -fms-extensions < %s | FileCheck %s
|
|
|
|
void bar() {
|
|
}
|
|
|
|
// CHECK-NOT: foo
|
|
__forceinline void foo() {
|
|
bar();
|
|
}
|
|
|
|
void i_want_bar() {
|
|
// CHECK: call void @bar
|
|
foo();
|
|
}
|