diff options
Diffstat (limited to 'tests/parser/twrongcmdsyntax.nim')
-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 |