rust/tests/run-make/issue-28595/b.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
132 B
Rust
Raw Normal View History

extern crate a;
#[link(name = "b", kind = "static")]
2020-09-01 16:12:52 -05:00
extern "C" {
pub fn b();
}
fn main() {
2020-09-01 16:12:52 -05:00
unsafe {
b();
}
}