rust/tests/run-make/pointer-auth-link-with-c/test.rs

11 lines
108 B
Rust

#[link(name = "test")]
extern "C" {
fn foo() -> i32;
}
fn main() {
unsafe {
foo();
}
}