summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/const_prop/indirect.rs
blob: 37217ca8134076d92b42b40147bbef4eedfb18cf (plain)
1
2
3
4
5
6
// compile-flags: -C overflow-checks=on

// EMIT_MIR indirect.main.ConstProp.diff
fn main() {
    let x = (2u32 as u8) + 1;
}