aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/compile/issue-635-2.rs
blob: 335218aa52c3b205e80e6eac7b7c0ac92e8ace06 (plain)
1
2
3
4
5
// { dg-additional-options "-w" }
fn test() -> f32 {
    return 10000000000000000000000000000000000000000000.0f32;
    // { dg-error "decimal overflows the respective type .f32." "" { target *-*-* } .-1 }
}