summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/async-closure-matches-expr.rs
blob: d82fbcdc5505b638fb54cb6a1ab370e959882653 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// build-pass
// edition:2018

#![feature(async_closure)]

macro_rules! match_expr {
    ($x:expr) => {}
}

fn main() {
    match_expr!(async || {});
}