summaryrefslogtreecommitdiffstats
path: root/src/test/ui/try-block/try-block-in-match.rs
blob: cd0b967e79d07bcca6c1a8aca9fed4506aba433d (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// compile-flags: --edition 2018

#![feature(try_blocks)]

fn main() {
    match try { } {
        Err(()) => (),
        Ok(()) => (),
    }
}