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");
}