diff options
Diffstat (limited to 'tests/exprs/tstmtexp.nim')
-rw-r--r-- | tests/exprs/tstmtexp.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/exprs/tstmtexp.nim b/tests/exprs/tstmtexp.nim new file mode 100644 index 000000000..0ae866497 --- /dev/null +++ b/tests/exprs/tstmtexp.nim @@ -0,0 +1,8 @@ +discard """ + errormsg: "expression '5' is of type 'int literal(5)' and has to be used (or discarded)" + file: "tstmtexp.nim" + line: 8 +""" +# Test 3 + +1+4 |