]> git.lizzy.rs Git - rust.git/blob - tests/ui/binding/match-bot.rs
Merge commit '598f0909568a51de8a2d1148f55a644fd8dffad0' into sync_cg_clif-2023-01-24
[rust.git] / tests / 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 }