diff options
Diffstat (limited to 'tests/data/parser/inline/0086_no_semi_after_block.rs')
-rw-r--r-- | tests/data/parser/inline/0086_no_semi_after_block.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/data/parser/inline/0086_no_semi_after_block.rs b/tests/data/parser/inline/0086_no_semi_after_block.rs new file mode 100644 index 000000000..d769da43d --- /dev/null +++ b/tests/data/parser/inline/0086_no_semi_after_block.rs | |||
@@ -0,0 +1,9 @@ | |||
1 | fn foo() { | ||
2 | if true {} | ||
3 | loop {} | ||
4 | match () {} | ||
5 | while true {} | ||
6 | for _ in () {} | ||
7 | {} | ||
8 | {} | ||
9 | } | ||