Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
numbers-arithmetic
/
u8-incr.rs
blob: 5242acf5b98c4435720f50662f7c2ec2f278a2b0 [
file
] [
log
] [
blame
]
// run-pass
pub
fn
main
()
{
let
mut
x
:
u8
=
12
;
let
y
:
u8
=
12
;
x
=
x
+
1
;
x
=
x
-
1
;
assert_eq
!(
x
,
y
);
// x = 14;
// x = x + 1;
}