mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
11 lines
142 B
Rust
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() { }
|