diff options
Diffstat (limited to 'tests/errmsgs/twrongcolon.nim')
-rw-r--r-- | tests/errmsgs/twrongcolon.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/errmsgs/twrongcolon.nim b/tests/errmsgs/twrongcolon.nim new file mode 100644 index 000000000..06e802eb7 --- /dev/null +++ b/tests/errmsgs/twrongcolon.nim @@ -0,0 +1,10 @@ +discard """ +errormsg: "in expression ' do:" +nimout: ''' +twrongcolon.nim(10, 12) Error: in expression ' do: + 890': identifier expected, but found '' +''' + +""" + +var n: int : 890 |