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

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

14 lines
162 B
Rust
Raw Normal View History

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