rust/tests/ui/consts/const-eval/index_out_of_bounds.rs
2023-01-11 09:32:08 +00:00

5 lines
56 B
Rust

static FOO: i32 = [][0];
//~^ ERROR E0080
fn main() {}