repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git]
/
test
/
FrontendC
/
2009-05-17-AlwaysInline.c
blob
a93fabe052583bb3a2c1a25889b4bde5be80bb1f
1
// RUN: %llvmgcc -S %s -O0 -o - -mllvm -disable-llvm-optzns | grep bar
2
// Check that the gcc inliner is turned off.
3
4
#include <stdio.h>
5
static
__inline__
__attribute__
((
always_inline
))
6
int
bar
(
int
x
)
7
{
8
return
4
;
9
}
10
11
void
12
foo
()
13
{
14
long long
b
=
1
;
15
int
Y
=
bar
(
4
);
16
printf
(
"%d
\n
"
,
Y
);
17
}