1 // run-pass
2 // only-wasm32
3 // compile-flags: -Zmir-opt-level=0 -C target-feature=+nontrapping-fptoint
4 
5 #![feature(test, stmt_expr_attributes)]
6 #![deny(overflowing_literals)]
7 
8 #[path = "saturating-float-casts-impl.rs"]
9 mod implementation;
10 
main()11 pub fn main() {
12     implementation::run();
13 }
14