rust/tests/pass/unops.rs
2022-06-01 10:53:38 -04:00

6 lines
110 B
Rust

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