summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/async-matches-expr.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/async-await/async-matches-expr.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/async-await/async-matches-expr.rs b/src/test/ui/async-await/async-matches-expr.rs
new file mode 100644
index 000000000..299faa058
--- /dev/null
+++ b/src/test/ui/async-await/async-matches-expr.rs
@@ -0,0 +1,10 @@
+// build-pass (FIXME(62277): could be check-pass?)
+// edition:2018
+
+macro_rules! match_expr {
+ ($x:expr) => {}
+}
+
+fn main() {
+ match_expr!(async {});
+}