1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/FrontendC/always-inline.c
Evan Cheng 83345de1d3 Add a always_inline test case.
llvm-svn: 63304
2009-01-29 09:31:54 +00:00

13 lines
170 B
C

// RUN: %llvmgcc -S %s -o - | grep call | not grep foo
void bar() {
}
inline void __attribute__((__always_inline__)) foo() {
bar();
}
void i_want_bar() {
foo();
}