Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - | grep call | not grep foo |
2 | |||||
3 | void bar() { | ||||
4 | } | ||||
5 | |||||
6 | inline void __attribute__((__always_inline__)) foo() { | ||||
7 | bar(); | ||||
8 | } | ||||
9 | |||||
10 | void i_want_bar() { | ||||
11 | foo(); | ||||
12 | } |