summaryrefslogtreecommitdiffstats
path: root/tests/run-make/pass-linker-flags-from-dep/rust_dep.rs
blob: 7f5df1139342f61c3f822503a79ef84e67744334 (plain)
1
2
3
4
5
6
7
8
9
extern "C" {
    pub fn foo();
}

pub fn f() {
    unsafe {
        foo();
    }
}