rust/src/test/ui/expr-empty-ret.rs
2019-07-27 18:56:16 +03:00

16 lines
196 B
Rust

// run-pass
#![allow(dead_code)]
// Issue #521
// pretty-expanded FIXME #23616
fn f() {
let _x = match true {
true => { 10 }
false => { return }
};
}
pub fn main() { }