blob: 0dfa8bdd274e6830bfffab97771e4ae4f4769ce3 (
plain)
1
2
3
4
5
6
7
8
|
#![feature(portable_simd)]
use std::simd::prelude::*;
fn main() {
unsafe {
let _x: i32x2 = f32x2::from_array([f32::MAX, f32::MIN]).to_int_unchecked(); //~ERROR: cannot be represented in target type `i32`
}
}
|