repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
always-inline.c
blob
62a1089b9f28bc12e0e54a6c2d30bf802c81c771
1
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2
// RUN: %clang_cc1 -fno-inline -emit-llvm %s -o - | FileCheck %s
3
4
// CHECK-NOT: foo
5
6
void
bar
(
void
) {
7
}
8
9
inline
void
__attribute__
((
__always_inline__
))
foo
(
void
) {
10
bar
();
11
}
12
13
void
i_want_bar
(
void
) {
14
foo
();
15
}