blob: a7dc482f3cb1d5932e4d99a237d3a1d2c7c82271 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// build-fail
#![feature(repr_simd, platform_intrinsics)]
// error-pattern:monomorphising SIMD type `Simd<65536>` of length greater than 32768
#[repr(simd)]
struct Simd<const N: usize>([f32; N]);
fn main() {
let _ = Simd::<65536>([0.; 65536]);
}
|