]> git.proxmox.com Git - rustc.git/blob - src/test/ui/binding/expr-match-panic-all.rs
Update unsuspicious file list
[rustc.git] / src / test / ui / binding / expr-match-panic-all.rs
1 // run-pass
2
3
4
5 // When all branches of a match expression result in panic, the entire
6 // match expression results in panic.
7
8 pub fn main() {
9 let _x =
10 match true {
11 true => { 10 }
12 false => { match true { true => { panic!() } false => { panic!() } } }
13 };
14 }