Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
numbers-arithmetic
/
i8-incr.rs
blob: 718d259f735f48906aa26af0096929587eec8274 [
file
] [
log
] [
blame
]
// run-pass
pub
fn
main
()
{
let
mut
x
:
i8
=
-
12
;
let
y
:
i8
=
-
12
;
x
=
x
+
1
;
x
=
x
-
1
;
assert_eq
!(
x
,
y
);
}