rust/tests/mir-opt/building/custom/aggregate_exprs.array.built.after.mir

16 lines
289 B
Rust
Raw Normal View History

2023-03-20 06:32:38 -05:00
// MIR for `array` after built
fn array() -> [i32; 2] {
2023-06-06 08:47:00 -05:00
let mut _0: [i32; 2];
let mut _1: [i32; 2];
let mut _2: i32;
2023-03-20 06:32:38 -05:00
bb0: {
2023-06-06 08:47:00 -05:00
_1 = [const 42_i32, const 43_i32];
_2 = const 1_i32;
_1 = [_2, const 2_i32];
_0 = move _1;
return;
2023-03-20 06:32:38 -05:00
}
}