rustc/tests/run-make/pointer-auth-link-with-c/test.rs
2024-07-31 08:40:13 +02:00

11 lines
108 B
Rust

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