Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
refs/heads/main
/
.
/
tests
/
ui
/
parser
/
pattern-matching-with-double-references-61475.rs
blob: bf800ec8b2c66176d60d109ac7dae6d7127cea0d [
file
] [
log
] [
blame
] [
edit
]
// https://github.com/rust-lang/rust/issues/61475
//@ run-pass
#![
allow
(
dead_code
)]
enum
E
{
A
,
B
}
fn
main
()
{
match
&&
E
::
A
{
&&
E
::
A
=>
{
}
&&
E
::
B
=>
{
}
};
}