Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-34784.rs
blob: d3206e994300937b6c79353408d4c9b0e59749aa [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
const
C
:
*
const
u8
=
&
0
;
fn
foo
(
x
:
*
const
u8
)
{
match
x
{
C
=>
{}
_
=>
{}
}
}
const
D
:
*
const
[
u8
;
4
]
=
b
"abcd"
;
fn
main
()
{
match
D
{
D
=>
{}
_
=>
{}
}
}