10 lines
204 B
Rust
10 lines
204 B
Rust
// skip-filecheck
|
|
// 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;
|
|
}
|