rust/tests/run-make/compiler-rt-works-on-mingw/foo.rs
2023-03-30 07:34:55 -05:00

11 lines
120 B
Rust

extern "C" {
fn foo();
}
pub fn main() {
unsafe {
foo();
}
assert_eq!(7f32.powi(3), 343f32);
}