Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
simd
/
type-generic-monomorphisation-oversized.rs
blob: 9949f913c4459c44dcb882116123910c58d80b3c [
file
] [
log
] [
blame
] [
edit
]
//@ build-fail
#![
feature
(
repr_simd
,
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
]);
}