about summary refs log tree commit diff
path: root/src/tools/miri/tests/pass/unops.rs
blob: f23f68ccbad00dc4b4bb373d5638eeec6c69b770 (plain)
1
2
3
4
5
fn main() {
    assert_eq!(!true, false);
    assert_eq!(!0xFFu16, 0xFF00);
    assert_eq!(-{ 1i16 }, -1i16);
}