rust/tests/run-make/native-link-modifier-verbat.../rust_dep.rs

10 lines
135 B
Rust

extern "C" {
fn upstream_native_f() -> i32;
}
pub fn rust_dep() {
unsafe {
assert!(upstream_native_f() == 0);
}
}