Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/test_data/parser/inline/ok/postfix_range.rs')
-rw-r--r--crates/parser/test_data/parser/inline/ok/postfix_range.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/parser/test_data/parser/inline/ok/postfix_range.rs b/crates/parser/test_data/parser/inline/ok/postfix_range.rs
new file mode 100644
index 0000000000..e7b7cfc6b1
--- /dev/null
+++ b/crates/parser/test_data/parser/inline/ok/postfix_range.rs
@@ -0,0 +1,5 @@
+fn foo() {
+ let x = 1..;
+ match 1.. { _ => () };
+ match a.b()..S { _ => () };
+}