Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
never_type
/
adjust_never.rs
blob: e4d15c8a17dfae0ba01f20432ed9a7028481319b [
file
] [
log
] [
blame
]
// Test that a variable of type ! can coerce to another type.
// check-pass
fn
main
()
{
let
x
:
!
=
panic
!();
let
y
:
u32
=
x
;
}