rust/tests/run-make/lto-avoid-object-duplication/downstream.rs

7 lines
130 B
Rust

extern crate upstream;
#[no_mangle]
pub extern "C" fn foo() {
print!("1 + 1 = {}", upstream::issue64153_test_function(1));
}