2023-06-08 09:18:34 +02:00
|
|
|
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
|
2022-07-26 19:04:27 +02:00
|
|
|
// unit-test: ConstProp
|
2019-05-03 21:58:16 -04:00
|
|
|
// compile-flags: -C overflow-checks=on
|
|
|
|
|
2020-07-27 21:22:43 +02:00
|
|
|
// EMIT_MIR checked_add.main.ConstProp.diff
|
2019-05-03 21:58:16 -04:00
|
|
|
fn main() {
|
|
|
|
let x: u32 = 1 + 1;
|
|
|
|
}
|