blob: d3a35dadb67bc80b709771318f8b939b6956d2c2 [file] [log] [blame] [edit]
//@ compile-flags: -O
//@ aux-build:always.rs
#![crate_type = "lib"]
extern crate always;
// Check that we inline a cross-crate call, even though it isn't a leaf
#[no_mangle]
pub fn outer() -> String {
// CHECK-NOT: call {{.*}}stem_fn
always::stem_fn()
}