Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-26251.rs
blob: 0434ef9e5a958cb9158b47680f36efccd00b6823 [
file
] [
log
] [
blame
]
// run-pass
fn
main
()
{
let
x
=
'a'
;
let
y
=
match
x
{
'a'
..=
'b'
if
false
=>
"one"
,
'a'
=>
"two"
,
'a'
..=
'b'
=>
"three"
,
_
=>
panic
!(
"what?"
),
};
assert_eq
!(
y
,
"two"
);
}