rust/tests/run-make-fulldeps/pointer-auth-link-with-c/test.rs
2023-01-11 09:32:08 +00:00

9 lines
94 B
Rust

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