summary refs log tree commit diff stats
path: root/tests/parser/tpostexprblocks.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser/tpostexprblocks.nim')
-rw-r--r--tests/parser/tpostexprblocks.nim11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/parser/tpostexprblocks.nim b/tests/parser/tpostexprblocks.nim
index d272c712f..6cd4a8350 100644
--- a/tests/parser/tpostexprblocks.nim
+++ b/tests/parser/tpostexprblocks.nim
@@ -498,6 +498,13 @@ StmtList
         StmtList
           DiscardStmt
             Empty
+
+  Call
+    Ident "foo"
+    Finally
+      StmtList
+        DiscardStmt
+          Empty
 '''
 """
 
@@ -655,3 +662,7 @@ dumpTree:
     discard
   finally:
     discard
+
+  foo:
+  finally:
+    discard