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