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

13 lines
229 B
Rust
Raw Normal View History

// run-pass
// compile-flags:-Zmir-opt-level=0
2018-03-17 11:46:31 -05:00
#![feature(test, stmt_expr_attributes)]
#![deny(overflowing_literals)]
#[path = "saturating-float-casts-impl.rs"]
mod implementation;
2020-04-18 17:43:08 -05:00
pub fn main() {
implementation::run();
}