rustc/tests/run-make/pointer-auth-link-with-c/test.rs
2023-09-14 08:56:40 +02:00

9 lines
94 B
Rust

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