summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-28595/b.rs
blob: 1f389859fad73414695390b5b61fd999a0b43c11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
extern crate a;

#[link(name = "b", kind = "static")]
extern "C" {
    pub fn b();
}

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