rust/tests/ui/issues/issue-33287.rs
2023-01-11 09:32:08 +00:00

11 lines
142 B
Rust

// build-pass
#![allow(dead_code)]
#![allow(unused_variables)]
const A: [u32; 1] = [0];
fn test() {
let range = A[1]..;
}
fn main() { }