rust/tests/pass/unops.rs
2022-06-20 23:50:40 -07:00

6 lines
112 B
Rust

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