summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/forceinline.c
blob: 9a21c0dd2c7866076b4ef688f8e1cde255f931d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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();
}