Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
f86a619314d431ea5ccb1becb38d8a015f6c5501
/
.
/
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
);
}