mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-06 13:44:13 +00:00
10 lines
158 B
Rust
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() {}
|