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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
229 B
Rust
Raw Normal View History

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