Sign in
fuchsia
/
third_party
/
rust
/
0.8
/
.
/
src
/
test
/
compile-fail
/
issue-6977.rs
blob: 6c062b0f3f7ba1a0ba80b84c8878374b56e8aa2c [
file
]
// Trying to create a fixed-length vector with a negative size
fn
main
()
{
let
_x
=
[
0
,..-
1
];
//~ ERROR found negative integer
}