]> git.proxmox.com Git - rustc.git/blame - tests/mir-opt/dataflow-const-prop/array_index.rs
New upstream version 1.75.0+dfsg1
[rustc.git] / tests / mir-opt / dataflow-const-prop / array_index.rs
CommitLineData
ed00b5ec 1// skip-filecheck
781aab86
FG
2// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
3// unit-test: DataflowConstProp
4// EMIT_MIR_FOR_EACH_BIT_WIDTH
5
6// EMIT_MIR array_index.main.DataflowConstProp.diff
7fn main() {
8 let x: u32 = [0, 1, 2, 3][2];
9}