summary refs log tree commit diff stats
path: root/tests/macros/ttryparseexpr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/ttryparseexpr.nim')
-rw-r--r--tests/macros/ttryparseexpr.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/macros/ttryparseexpr.nim b/tests/macros/ttryparseexpr.nim
index fc0ee61d0..e6e9e9880 100644
--- a/tests/macros/ttryparseexpr.nim
+++ b/tests/macros/ttryparseexpr.nim
@@ -18,3 +18,7 @@ const
   c = test("\"") # bug #2504
 
 echo a, " ", b
+
+static:
+  # Issue #9918
+  discard parseStmt("echo(1+1);")