llvm-6502/test/FrontendC/always-inline.c
Evan Cheng b691b704ad Add a always_inline test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63304 91177308-0d34-0410-b5e6-96231b3b80d8
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();
}