Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
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
}