]> git.lizzy.rs Git - rust.git/blob - src/test/ui/never_type/expr-empty-ret.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[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() { }