diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline/ok/0034_break_expr.rs')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/inline/ok/0034_break_expr.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0034_break_expr.rs b/crates/ra_syntax/tests/data/parser/inline/ok/0034_break_expr.rs new file mode 100644 index 000000000..1b4094636 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0034_break_expr.rs | |||
@@ -0,0 +1,8 @@ | |||
1 | fn foo() { | ||
2 | loop { | ||
3 | break; | ||
4 | break 'l; | ||
5 | break 92; | ||
6 | break 'l 92; | ||
7 | } | ||
8 | } | ||