rust/tests/ui/simd/monomorphize-heterogeneous.rs
2023-04-08 22:14:57 +01:00

10 lines
158 B
Rust

#![feature(repr_simd)]
#[repr(simd)]
struct I64F64(i64, f64);
//~^ ERROR SIMD vector should be homogeneous
static X: I64F64 = I64F64(1, 2.0);
fn main() {}