index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
numbers-arithmetic
/
i32-sub.rs
blob: c2aed62c966140d09b39eb4e152a4880b8341972 (
plain
)
1
2
3
4
5
6
//@ run-pass
pub
fn
main
()
{
let
mut
x
:
i32
=
-
400
;
x
=
0
-
x
;
assert_eq!
(
x
,
400
);
}