mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 12:49:50 +00:00
Add a always_inline test case.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63304 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56ab1a2815
commit
b691b704ad
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