diff options
Diffstat (limited to 'crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs')
-rw-r--r-- | crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs new file mode 100644 index 000000000..b51b19630 --- /dev/null +++ b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs | |||
@@ -0,0 +1,5 @@ | |||
1 | fn foo() { | ||
2 | for _x in 0 .. (0 .. {1 + 2}).sum::<u32>() { | ||
3 | break; | ||
4 | } | ||
5 | } | ||