Debian Codegraph @

gcc/testsuite/rust/compile/cast4.rs

raw
1 fn main() {
2 let a: i32 = 123;
3 let u = a as bool;
4 // { dg-error "cannot cast .i32. as .bool." "" { target *-*-* } .-1 }
5 }