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