Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
consts
/
const-eval
/
transmute-const.rs
blob: 1cfad00ca76df7126e41dd03403b265d1030cca8 [
file
] [
log
] [
blame
]
use
std
::
mem
;
static
FOO
:
bool
=
unsafe
{
mem
::
transmute
(
3u8
)
};
//~^ ERROR it is undefined behavior to use this value
fn
main
()
{}