blob: 4b43b86600c526729d67f62f8d72155c35166234 [file] [log] [blame]
#![crate_type = "rlib"]
#[link(name = "foo", kind = "static")]
extern {
fn foo() -> i32;
}
pub fn foo1() -> i32 {
unsafe { foo() }
}