diff options
author | Araq <rumpf_a@web.de> | 2017-04-25 19:36:05 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-04-25 19:36:05 +0200 |
commit | 05c20bc4ffc8d3c4d0514d2834830d057ecd194a (patch) | |
tree | d76f15bd9f71778ff46e9454ab4e3cf90c293d14 /tests/parser | |
parent | c6a8bd264e77da69fc95de17a7febe5a32955a40 (diff) | |
download | Nim-05c20bc4ffc8d3c4d0514d2834830d057ecd194a.tar.gz |
fixes a parser bug
Diffstat (limited to 'tests/parser')
-rw-r--r-- | tests/parser/twrongcmdsyntax.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/parser/twrongcmdsyntax.nim b/tests/parser/twrongcmdsyntax.nim new file mode 100644 index 000000000..affe72c34 --- /dev/null +++ b/tests/parser/twrongcmdsyntax.nim @@ -0,0 +1,6 @@ +discard """ + errormsg: '''identifier expected, but found 'echo 4''' + line: 6 +""" + +echo 4 +2 |