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