mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
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);
|
|
}
|