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