2023-04-05 09:44:20 +01:00
|
|
|
// ignore-wasm32 compiled with panic=abort by default
|
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;
|
|
|
|
}
|