mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
433da1fc04
They pass fine.
13 lines
132 B
Rust
13 lines
132 B
Rust
extern crate a;
|
|
|
|
#[link(name = "b", kind = "static")]
|
|
extern "C" {
|
|
pub fn b();
|
|
}
|
|
|
|
fn main() {
|
|
unsafe {
|
|
b();
|
|
}
|
|
}
|