rust/tests/mir-opt/const_prop/indirect.rs
2023-01-11 09:32:08 +00:00

8 lines
150 B
Rust

// unit-test: ConstProp
// compile-flags: -C overflow-checks=on
// EMIT_MIR indirect.main.ConstProp.diff
fn main() {
let x = (2u32 as u8) + 1;
}