8 lines
194 B
Rust
8 lines
194 B
Rust
// compile-flags: -Zmir-enable-passes=-SimplifyLocals-before-const-prop
|
|
// EMIT_MIR_FOR_EACH_BIT_WIDTH
|
|
|
|
// EMIT_MIR slice_len.main.ConstProp.diff
|
|
fn main() {
|
|
(&[1u32, 2, 3] as &[u32])[1];
|
|
}
|