Debian Codegraph @

gcc/testsuite/rust/compile/unary_not.rs

raw
1 fn main() {
2 let a: i32 = -1;
3 let b: i32 = 3 - -1;
4 let c: bool = !false;
5 let d: i32 = !3;
6
7 let e: f32 = !5f32; // { dg-error "cannot apply unary '!' to f32" }
8 }