repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gccrs: Handle `async` functions in traits
[official-gcc.git]
/
gcc
/
testsuite
/
rust
/
compile
/
cast4.rs
blob
22ac0c5acf7edfb4e291a53239ad24b1e75cb891
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
}