aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/err/0008_item_block_recovery.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-01-28 17:48:37 +0000
committerAleksey Kladov <[email protected]>2018-01-28 17:53:01 +0000
commitd1d47e62445806a7ecfb747989d2cb34989d5d51 (patch)
treec47d0cef58945190e9e5dcf40317450cfe0db797 /tests/data/parser/err/0008_item_block_recovery.rs
parent4adf0c20b71f8eb6365893cb1739b1cd33b081cc (diff)
Skip over balanced parens
Diffstat (limited to 'tests/data/parser/err/0008_item_block_recovery.rs')
-rw-r--r--tests/data/parser/err/0008_item_block_recovery.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/data/parser/err/0008_item_block_recovery.rs b/tests/data/parser/err/0008_item_block_recovery.rs
new file mode 100644
index 000000000..9fcac19b5
--- /dev/null
+++ b/tests/data/parser/err/0008_item_block_recovery.rs
@@ -0,0 +1,13 @@
1fn foo() {
2}
3
4bar() {
5 if true {
6 1
7 } else {
8 2 + 3
9 }
10}
11
12fn baz() {
13}