new tester; all tests categorized

This commit is contained in:
Araq 2014-01-13 02:10:03 +01:00
commit 20b5f31c03
481 changed files with 794 additions and 2506 deletions

View file

@ -1,18 +0,0 @@
discard """
line: 13
errormsg: "duplicate case label"
"""
proc checkDuplicates(myval: int32): bool =
case myval
of 0x7B:
echo "this should not compile"
of 0x78 .. 0x7D:
result = true
else:
nil
echo checkDuplicates(0x7B)