rust/tests/ui/simd/issue-17170.rs
2024-09-09 19:39:43 -07:00

12 lines
136 B
Rust

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