rust/tests/mir-opt/dataflow-const-prop/cast.rs
2023-10-19 15:51:52 +00:00

9 lines
152 B
Rust

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