Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
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
);
}