aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-07 15:00:45 +0100
committerAleksey Kladov <[email protected]>2018-08-07 15:00:45 +0100
commita04473e2bb95483e84404c57426ee9ed21fa5d6b (patch)
treedf5cb31dc154285516fc9e52ac16a65f45a29a74 /tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
parentbcd6754f1266ef3f4ce42f76974e379815234494 (diff)
Semi statements
Diffstat (limited to 'tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs')
-rw-r--r--tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs b/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
new file mode 100644
index 000000000..2edd578f9
--- /dev/null
+++ b/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.rs
@@ -0,0 +1,7 @@
1fn foo() {
2 match () {
3 _ => {}
4 () => {}
5 [] => {}
6 }
7}