Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
src
/
tools
/
miri
/
tests
/
panic
/
oob_subslice.rs
blob: 4e79b6a99e9c678098f5f8b72ac4808a07270a4d [
file
] [
log
] [
blame
]
// This once failed with "unwinding past a stack frame that does not allow unwinding",
// fixed by https://github.com/rust-lang/rust/issues/110233.
fn
main
()
{
let
x
=
[
1
,
2
,
3
,
4
];
let
_val
=
&
x
[..=
4
];
}