rust/tests/run-pass/unops.rs
2018-08-26 20:42:02 +02:00

6 lines
110 B
Rust

fn main() {
assert_eq!(!true, false);
assert_eq!(!0xFFu16, 0xFF00);
assert_eq!(-{1i16}, -1i16);
}