Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
794181788d94b7bc9e4717b97313f525054c4710
/
.
/
src
/
test
/
ui
/
consts
/
repeat_match.rs
blob: 20983184a473a4d5cd397bc57ebe865edab40216 [
file
] [
log
] [
blame
]
// run-pass
// https://github.com/rust-lang/rust/issues/45044
const
X
:
[
u8
;
1
]
=
[
0
;
1
];
fn
main
()
{
match
&
X
{
&
X
=>
println
!(
"a"
),
_
=>
println
!(
"b"
),
};
}