rust/src/test/ui/async-matches-expr.rs
2018-12-25 21:08:33 -07:00

14 lines
192 B
Rust

// compile-pass
// edition:2018
#![feature(async_await, await_macro)]
macro_rules! match_expr {
($x:expr) => {}
}
fn main() {
match_expr!(async {});
match_expr!(async || {});
}