rust/tests/ui/simd/monomorphize-heterogeneous.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
158 B
Rust
Raw Normal View History

2023-04-08 16:14:57 -05:00
#![feature(repr_simd)]
#[repr(simd)]
struct I64F64(i64, f64);
//~^ ERROR SIMD vector should be homogeneous
static X: I64F64 = I64F64(1, 2.0);
fn main() {}