diff options
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0030_cond.rs')
-rw-r--r-- | crates/syntax/test_data/parser/inline/ok/0030_cond.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0030_cond.rs b/crates/syntax/test_data/parser/inline/ok/0030_cond.rs new file mode 100644 index 000000000..2552a2621 --- /dev/null +++ b/crates/syntax/test_data/parser/inline/ok/0030_cond.rs | |||
@@ -0,0 +1,7 @@ | |||
1 | fn foo() { if let Some(_) = None {} } | ||
2 | fn bar() { | ||
3 | if let Some(_) | Some(_) = None {} | ||
4 | if let | Some(_) = None {} | ||
5 | while let Some(_) | Some(_) = None {} | ||
6 | while let | Some(_) = None {} | ||
7 | } | ||