summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-15460/foo.rs
blob: b4eaa0b31c5be9bc67602cfeb1e60c2e09f4e71d (plain)
1
2
3
4
5
6
#![crate_type = "dylib"]

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