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

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();
}
}