summaryrefslogtreecommitdiffstats
path: root/tests/run-make/compiler-rt-works-on-mingw/foo.rs
blob: 7fdb815887118bce354981132c94de3d3283d71a (plain)
1
2
3
4
5
6
7
8
9
10
extern "C" {
    fn foo();
}

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