rust/src/test/ui/async-await/async-matches-expr.rs

14 lines
192 B
Rust
Raw Normal View History

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