]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-bot-2.rs
Merge commit '61667dedf55e3e5aa584f7ae2bd0471336b92ce9' into sync_cg_clif-2021-09-19
[rust.git] / src / test / ui / binding / match-bot-2.rs
1 // run-pass
2 #![allow(unreachable_code)]
3 // n.b. This was only ever failing with optimization disabled.
4
5 fn a() -> isize { match return 1 { 2 => 3, _ => panic!() } }
6 pub fn main() { a(); }