summaryrefslogtreecommitdiffstats
path: root/tests/ui/simd/type-generic-monomorphisation-power-of-two.rs
blob: 9b645d363e93250fc941eb8b446e312d99e6bde4 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass

#![feature(repr_simd, platform_intrinsics)]

#[repr(simd)]
struct Simd<const N: usize>([f32; N]);

fn main() {
    let _ = Simd::<3>([0.; 3]);
}