summaryrefslogtreecommitdiffstats
path: root/tests/ui/numbers-arithmetic/saturating-float-casts.rs
blob: cc248a9bea0879c325295f13a785511f3dd5909c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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();
}