Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
index_out_of_bounds_propagated.rs
blob: 4b487c09a11f70dc22017d5d1a3faed47aeb9974 [
file
] [
log
] [
blame
]
fn
main
()
{
let
array
=
[
std
::
env
::
args
().
len
()];
array
[
1
];
//~ ERROR index out of bounds
}