summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-04-25 18:00:23 +0800
committerGitHub <noreply@github.com>2022-04-25 12:00:23 +0200
commit42ac50e988a4734624b204740613c795a0e789a3 (patch)
treeb0d851ea9a5eb05ea7dd7270cf4a1140f21c77fc /tests
parentee0a47029443e6d717ed4a85825b7dcf971dbdf8 (diff)
downloadNim-42ac50e988a4734624b204740613c795a0e789a3.tar.gz
fixes #19662; Indent level errored for first line (#19718)
Diffstat (limited to 'tests')
-rw-r--r--tests/parser/t19662.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/parser/t19662.nim b/tests/parser/t19662.nim
new file mode 100644
index 000000000..7a1864ac6
--- /dev/null
+++ b/tests/parser/t19662.nim
@@ -0,0 +1,6 @@
+                var i: int # bug #19662
+echo i
+
+discard """
+  errormsg: "invalid indentation"
+"""
\ No newline at end of file