rust/tests/mir-opt/dataflow-const-prop/cast.rs

8 lines
134 B
Rust
Raw Normal View History

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