Sign in
android
/
toolchain
/
rustc
/
635618df8991b8a005e435895ea0b1eee7e3faf0
/
.
/
tests
/
mir-opt
/
const_prop
/
checked_add.rs
blob: 007defd10379cb9558004abf224533444a8f2dc1 [
file
] [
log
] [
blame
]
// ignore-wasm32 compiled with panic=abort by default
// unit-test: ConstProp
// compile-flags: -C overflow-checks=on
// EMIT_MIR checked_add.main.ConstProp.diff
fn
main
()
{
let
x
:
u32
=
1
+
1
;
}