]> git.lizzy.rs Git - rust.git/blob - src/test/ui/never_type/expr-empty-ret.rs
Rollup merge of #88706 - ThePuzzlemaker:issue-88609, r=jackh726
[rust.git] / src / test / ui / never_type / expr-empty-ret.rs
1 // run-pass
2
3 #![allow(dead_code)]
4 // Issue #521
5
6 // pretty-expanded FIXME #23616
7
8 fn f() {
9     let _x = match true {
10         true => { 10 }
11         false => { return }
12     };
13 }
14
15 pub fn main() { }