mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Add a always_inline test case.
llvm-svn: 63304
This commit is contained in:
parent
fc00dc63dc
commit
83345de1d3
12
test/FrontendC/always-inline.c
Normal file
12
test/FrontendC/always-inline.c
Normal file
@ -0,0 +1,12 @@
|
||||
// RUN: %llvmgcc -S %s -o - | grep call | not grep foo
|
||||
|
||||
void bar() {
|
||||
}
|
||||
|
||||
inline void __attribute__((__always_inline__)) foo() {
|
||||
bar();
|
||||
}
|
||||
|
||||
void i_want_bar() {
|
||||
foo();
|
||||
}
|
Loading…
Reference in New Issue
Block a user