433da1fc04
They pass fine.
9 lines
94 B
Rust
9 lines
94 B
Rust
#[link(name = "test")]
|
|
extern "C" {
|
|
fn foo() -> i32;
|
|
}
|
|
|
|
fn main() {
|
|
unsafe {foo();}
|
|
}
|