summaryrefslogtreecommitdiffstats
path: root/tests/run-make/pointer-auth-link-with-c/test.rs
blob: 615ad0aeb3d0e52c2030dc082a074bc96180027a (plain)
1
2
3
4
5
6
7
8
#[link(name = "test")]
extern "C" {
    fn foo() -> i32;
}

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