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

10 lines
135 B
Rust
Raw Normal View History

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