mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
13 lines
133 B
Rust
13 lines
133 B
Rust
//@ run-pass
|
|
|
|
|
|
|
|
|
|
pub fn main() {
|
|
let mut x: i8 = -12;
|
|
let y: i8 = -12;
|
|
x = x + 1;
|
|
x = x - 1;
|
|
assert_eq!(x, y);
|
|
}
|