Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
cast4.rs
blob: 9abce65823fb949e15af1d931f1d2dff2c5d5e4c [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
fn
main
()
{
let
a
:
i32
=
123
;
let
u
=
a
as
bool
;
// { dg-error "cannot cast .i32. as .bool." "" { target *-*-* } .-1 }
}