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