Sign in
ara-mdk
/
platform
/
external
/
llvm
/
fc643c5e88c596f217750dd91fcc66488dfed73d
/
.
/
test
/
CFrontend
/
2007-06-05-NoInlineAttribute.c
blob: cb1920aed091576f6c2bf6e368ea106ad4898037 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc -c -emit-llvm %s -o - | llvm-dis | grep llvm.noinline
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
);
}