Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
wasm
/
simd-to-array-80108.rs
blob: 0576c2e6be164f230ac09d3a269a43161ebc47a1 [
file
] [
log
] [
blame
]
// only-wasm32
// compile-flags: --crate-type=lib -Copt-level=2
// build-pass
#![
feature
(
repr_simd
)]
// Regression test for #80108
#[
repr
(
simd
)]
pub
struct
Vector
([
i32
;
4
]);
impl
Vector
{
pub
const
fn
to_array
(
self
)
->
[
i32
;
4
]
{
self
.
0
}
}