Evan Cheng | 36f8782 | 2009-01-29 09:31:54 +0000 | [diff] [blame^] | 1 | // RUN: %llvmgcc -S %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 | } |