Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
fea1dd08044c85fb2f74b409704bb742dc817846
/
.
/
test
/
FrontendC
/
2007-06-05-NoInlineAttribute.c
blob: b11b3c779684e6b4acf4c4174cc5d36cee0d3bc6 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -O2 -c -emit-llvm %s -o - | llvm-dis | grep call
static
int
bar
(
int
x
,
int
y
)
__attribute__
((
noinline
));
static
int
bar
(
int
x
,
int
y
)
{
return
x
+
y
;
}
int
foo
(
int
a
,
int
b
)
{
return
bar
(
b
,
a
);
}