rust/tests/ui/numbers-arithmetic/saturating-float-casts.rs

13 lines
231 B
Rust

//@ run-pass
//@ compile-flags:-Zmir-opt-level=0
#![feature(test, stmt_expr_attributes)]
#![deny(overflowing_literals)]
#[path = "saturating-float-casts-impl.rs"]
mod implementation;
pub fn main() {
implementation::run();
}