diff options
Diffstat (limited to 'tests/parser/tinvcolonlocation3.nim')
-rw-r--r-- | tests/parser/tinvcolonlocation3.nim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/parser/tinvcolonlocation3.nim b/tests/parser/tinvcolonlocation3.nim new file mode 100644 index 000000000..46252f24e --- /dev/null +++ b/tests/parser/tinvcolonlocation3.nim @@ -0,0 +1,12 @@ +discard """ + errormsg: "expected: ':', but got: 'echo'" + file: "tinvcolonlocation3.nim" + line: 12 + column: 7 +""" +try: + echo "try" +except: + echo "except" +finally #<- missing ':' + echo "finally" |