rust/tests/ui/simd/issue-17170.rs
2023-01-11 09:32:08 +00:00

12 lines
138 B
Rust

// run-pass
#![feature(repr_simd)]
#[repr(simd)]
struct T(f64, f64, f64);
static X: T = T(0.0, 0.0, 0.0);
fn main() {
let _ = X;
}