2019-07-03 06:30:28 +09:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2018-08-01 09:50:15 -07:00
|
|
|
// edition:2018
|
|
|
|
|
|
|
|
#![feature(async_await, await_macro)]
|
|
|
|
|
|
|
|
macro_rules! match_expr {
|
|
|
|
($x:expr) => {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
match_expr!(async {});
|
|
|
|
match_expr!(async || {});
|
|
|
|
}
|