rust/tests/mir-opt/dataflow-const-prop/cast.rs
2023-01-11 09:32:08 +00:00

8 lines
134 B
Rust

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