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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
136 B
Rust
Raw Normal View History

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