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 09:07:45 -06:00
2018-06-04 11:32:06 -05:00
fn main() {}