summaryrefslogtreecommitdiffstats
path: root/tests/ui/simd/issue-17170.rs
blob: 8d70dacdc90104a7aa180e2fd7cce7038e10e003 (plain)
1
2
3
4
5
6
7
8
9
10
11
// 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;
}