about summary refs log tree commit diff
path: root/tests/ui/numbers-arithmetic/saturating-float-casts.rs
blob: 3a1af09d2d423363b113b963dc9727109bb25cd0 (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();
}