blob: 72af6cd95b8db1c8feab3989bbd50bde5302dbc4 (
plain)
1
2
3
4
5
6
7
8
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// unit-test: ConstProp
// compile-flags: -C overflow-checks=on
// EMIT_MIR indirect.main.ConstProp.diff
fn main() {
let x = (2u32 as u8) + 1;
}
|