diff options
author | Araq <rumpf_a@web.de> | 2011-02-20 20:12:22 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-02-20 20:12:22 +0100 |
commit | 2cdfe35e737291e65060e2f954d718316a969048 (patch) | |
tree | a39553bd397311c4601dde11be37c50ad99d81ab /tests/reject/trefs.nim | |
parent | cbee9c4e1a1252e6c809d25a0ef371ddee3fc802 (diff) | |
download | Nim-2cdfe35e737291e65060e2f954d718316a969048.tar.gz |
tests themselves contain the expected result
Diffstat (limited to 'tests/reject/trefs.nim')
-rwxr-xr-x | tests/reject/trefs.nim | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/reject/trefs.nim b/tests/reject/trefs.nim index ab3934088..b157ca2b5 100755 --- a/tests/reject/trefs.nim +++ b/tests/reject/trefs.nim @@ -1,3 +1,8 @@ +discard """ + file: "trefs.nim" + line: 20 + errormsg: "type mismatch" +""" # test for ref types (including refs to procs) type @@ -14,3 +19,5 @@ p = foo write(stdout, "success!") p = wrongfoo #ERROR_MSG type mismatch + + |