Sign in
fuchsia
/
third_party
/
rust
/
03769411561f3d282bfeb0e86ca38d898f02cbdb
/
.
/
src
/
test
/
ui
/
consts
/
array-literal-index-oob.rs
blob: 76013c77de0c258917db8cbd81f2491da6a26c95 [
file
] [
log
] [
blame
]
fn
main
()
{
&{[
1
,
2
,
3
][
4
]};
//~^ ERROR index out of bounds
//~| ERROR reaching this expression at runtime will panic or abort
//~| ERROR this expression will panic at runtime
}