blob: 92e0136d51b15596d3c1b1bc8c3166bec9f5be00 [file] [log] [blame]
// build-pass
// edition:2018
#![feature(generators)]
fn main() {
let _ = static |x: u8| match x {
y if { yield } == y + 1 => (),
_ => (),
};
}