]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-bot.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / ui / binding / match-bot.rs
1 // run-pass
2
3 pub fn main() {
4     let i: isize =
5         match Some::<isize>(3) { None::<isize> => { panic!() } Some::<isize>(_) => { 5 } };
6     println!("{}", i);
7 }