Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
cad129bcc0a23d1acfb6560f12ff1066c7b42ba0
/
.
/
test
/
FrontendC
/
2007-06-05-NoInlineAttribute.c
blob: 9543538fb1b9e7b1e73d67d6b4eaf173e1292f00 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -O2 -S %s -o - | 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
);
}