summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/consts.consts.built.after.mir
blob: 05de272afe4f46bd54f34ff08a9f6d6327120231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// MIR for `consts` after built

fn consts() -> () {
    let mut _0: ();
    let mut _1: u8;
    let mut _2: i8;
    let mut _3: u32;
    let mut _4: i32;
    let mut _5: fn() {consts::<10>};

    bb0: {
        _1 = const 5_u8;
        _2 = const _;
        _3 = const C;
        _4 = const _;
        _5 = consts::<10>;
        return;
    }
}