summaryrefslogtreecommitdiffstats
path: root/src/test/mir-opt/dataflow-const-prop/cast.rs
blob: 484403f7f0ec41d5d4c3f1aa1ef2018cd5a6bc78 (plain)
1
2
3
4
5
6
7
// unit-test: DataflowConstProp

// EMIT_MIR cast.main.DataflowConstProp.diff
fn main() {
    let a = 257;
    let b = a as u8 + 1;
}