summaryrefslogtreecommitdiffstats
path: root/src/test/ui/numbers-arithmetic/saturating-float-casts-wasm.rs
blob: cad05917391be97623a7c921866f21665dc2df5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// only-wasm32
// compile-flags: -Zmir-opt-level=0 -C target-feature=+nontrapping-fptoint

#![feature(test, stmt_expr_attributes)]
#![deny(overflowing_literals)]

#[path = "saturating-float-casts-impl.rs"]
mod implementation;

pub fn main() {
    implementation::run();
}