☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
cast4.rs
☽
☼
gcc/testsuite/rust/compile/cast4.rs
code
plain
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
}