blob: da95bf5fcc57e2a59bcf8e6ba14ec84be835b62b [file] [edit]
//! Regression test for https://github.com/rust-lang/rust/issues/33287
//@ build-pass
#![allow(dead_code)]
#![allow(unused_variables)]
#![allow(unconditional_panic)]
const A: [u32; 1] = [0];
fn test() {
let range = A[1]..;
}
fn main() { }