Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
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
,
};
}