Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
cast_float_as_integer.rs
blob: 802803ebaeef0a5ddb63cf783e44b94323dece1f [
file
]
// { dg-options "-w" }
#![
feature
(
no_core
)]
#![
no_core
]
fn
main
(){
let
foo
:
f64
=
13.37
;
let
_
=
foo
as
i64
;
let
_
=
foo
as
u64
;
let
_
=
foo
as
isize
;
let
_
=
foo
as
usize
;
let
_
=
foo
as
i8
;
let
_
=
foo
as
u8
;
}