rust/tests/ui/consts/const-eval/index_out_of_bounds.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
56 B
Rust
Raw Normal View History

static FOO: i32 = [][0];
//~^ ERROR E0080
2018-01-27 16:07:45 +01:00
2018-06-04 18:32:06 +02:00
fn main() {}