aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs')
-rw-r--r--crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs b/crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs
new file mode 100644
index 000000000..c4021dc10
--- /dev/null
+++ b/crates/syntax/test_data/parser/inline/ok/0071_match_expr.rs
@@ -0,0 +1,6 @@
1fn foo() {
2 match () { };
3 match S {};
4 match { } { _ => () };
5 match { S {} } {};
6}