about summary refs log tree commit diff
path: root/tests/run-make/pointer-auth-link-with-c/test.rs
blob: 795c6a45f8e610287a1ec531aae85f9af1b28149 (plain)
1
2
3
4
5
6
7
8
9
10
#[link(name = "test", kind = "static")]
extern "C" {
    fn foo() -> i32;
}

fn main() {
    unsafe {
        foo();
    }
}