rust/tests/ui/issues/issue-33287.rs

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

12 lines
174 B
Rust
Raw Normal View History

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