Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
aba3f0f8658b099fabd17f29f67bf6dd8ee5ddfd
/
.
/
test
/
CodeGen
/
2007-06-05-NoInlineAttribute.c
blob: 26aad88e814687edd24ca79f0d0b26f279d23c42 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -O2 -emit-llvm %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
);
}