]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/unusual_item_types.Test-X-{constructor#0}.built.after.mir
Interpret aggregates.
[rust.git] / tests / mir-opt / unusual_item_types.Test-X-{constructor#0}.built.after.mir
1 // MIR for `Test::X` after built
2
3 fn Test::X(_1: usize) -> Test {
4     let mut _0: Test;                    // return place in scope 0 at $DIR/unusual_item_types.rs:+0:5: +0:6
5
6     bb0: {
7         Deinit(_0);                      // scope 0 at $DIR/unusual_item_types.rs:+0:5: +0:6
8         ((_0 as X).0: usize) = move _1;  // scope 0 at $DIR/unusual_item_types.rs:+0:5: +0:6
9         discriminant(_0) = 0;            // scope 0 at $DIR/unusual_item_types.rs:+0:5: +0:6
10         return;                          // scope 0 at $DIR/unusual_item_types.rs:+0:5: +0:6
11     }
12 }