Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
numbers-arithmetic
/
i8-incr.rs
blob: a0f1becce2ea15de3fbe6ce167694a32d43aeb80 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
pub
fn
main
()
{
let
mut
x
:
i8
=
-
12
;
let
y
:
i8
=
-
12
;
x
=
x
+
1
;
x
=
x
-
1
;
assert_eq
!(
x
,
y
);
}