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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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);
}
}