rust/tests/ui/simd/issue-17170.rs

12 lines
138 B
Rust
Raw Normal View History

// 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;
}