Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
codegen
/
cross-crate-inlining
/
never-inline.rs
blob: 4e7bc3e5154cb6796c9ddacf7785727dcccee333 [
file
] [
log
] [
blame
]
// compile-flags: -O
// aux-build:never.rs
#![
crate_type
=
"lib"
]
extern
crate never
;
// Check that we do not inline a cross-crate call, even though it is a leaf
#[
no_mangle
]
pub
fn
outer
()
->
String
{
// CHECK: call {{.*}}leaf_fn
never
::
leaf_fn
()
}