diff options
author | Aleksey Kladov <[email protected]> | 2018-08-24 09:21:13 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-24 09:21:13 +0100 |
commit | 719710a13256a32b9fcbf06c1ff43f8961b9b2e6 (patch) | |
tree | c194449b1fe2f6e7d4a1133cd10bf30b73d81998 /crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs | |
parent | a66c94af1bad3c2dcfd8dd4c07494d0cf6cc8b1b (diff) |
break&continue
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs')
-rw-r--r-- | crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs b/crates/libsyntax2/tests/data/parser/inline/0106_break_expr.rs new file mode 100644 index 000000000..1b4094636 --- /dev/null +++ b/crates/libsyntax2/tests/data/parser/inline/0106_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 | } | ||