This commit is contained in:
Fabian Zaiser 2018-06-03 21:05:22 +02:00
parent 589f9a87a8
commit 29c43fea37

View File

@ -14,4 +14,4 @@ static FOO: i32 = [][0];
fn main() {
let array = [std::env::args().len()];
array[1]; //~ ERROR index out of bounds
}
}