Sign in
fuchsia
/
third_party
/
rust
/
a10a02bf5fd00e4b34f1856af17d058dd5ec06f0
/
.
/
src
/
test
/
ui
/
match
/
const_non_normal_zst_ref_pattern.rs
blob: a114fafb6473012e88b9975ee88deb085cef82cd [
file
] [
log
] [
blame
]
// check-pass
const
FOO
:
isize
=
10
;
const
ZST
:
&()
=
unsafe
{
std
::
mem
::
transmute
(
FOO
)
};
fn
main
()
{
match
&()
{
ZST
=>
9
,
};
}