2023-04-08 16:14:57 -05:00
|
|
|
#![feature(repr_simd)]
|
|
|
|
|
|
|
|
#[repr(simd)]
|
|
|
|
struct I64F64(i64, f64);
|
2024-08-22 03:28:20 -05:00
|
|
|
//~^ ERROR SIMD vector's only field must be an array
|
|
|
|
|
|
|
|
#[repr(simd)]
|
|
|
|
struct I64x4F64x0([i64; 4], [f64; 0]);
|
|
|
|
//~^ ERROR SIMD vector cannot have multiple fields
|
2023-04-08 16:14:57 -05:00
|
|
|
|
|
|
|
static X: I64F64 = I64F64(1, 2.0);
|
|
|
|
|
|
|
|
fn main() {}
|