rust/tests/run-make/manual-link/foo.rs
2023-03-30 07:34:55 -05:00

12 lines
106 B
Rust

#![crate_type = "rlib"]
extern "C" {
fn bar();
}
pub fn foo() {
unsafe {
bar();
}
}