433da1fc04
They pass fine.
11 lines
120 B
Rust
11 lines
120 B
Rust
extern "C" {
|
|
fn foo();
|
|
}
|
|
|
|
pub fn main() {
|
|
unsafe {
|
|
foo();
|
|
}
|
|
assert_eq!(7f32.powi(3), 343f32);
|
|
}
|