This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
12c32e944d
rust
/
src
/
test
/
run-pass
/
i32-sub.rs
6 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
Populate tree.
2010-06-23 23:03:09 -05:00
Reformat source tree (minus a couple tests that are still grumpy).
2011-06-15 13:19:50 -05:00
// -*- rust -*-
make --enforce-mut-vars always on, add mut annotations to remaining files
2012-03-22 10:39:41 -05:00
fn
main
(
)
{
let
mut
x
:
i32
=
-
400_
i32
;
x
=
0_
i32
-
x
;
assert
(
x
=
=
400_
i32
)
;
}
Reference in New Issue
Copy Permalink