rust/src/test/mir-opt/const_prop/array_index.rs

6 lines
87 B
Rust
Raw Normal View History

2020-04-04 17:15:01 +00:00
// EMIT_MIR rustc.main.ConstProp.diff
fn main() {
let x: u32 = [0, 1, 2, 3][2];
}