summary refs log tree commit diff
path: root/src/test/ui/async-matches-expr.rs
blob: f375d58d98495997e6bd0ece6709e5e2f0bc7edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-pass
// edition:2018

#![feature(async_await, await_macro)]

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

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