updated tests to be executed

This commit is contained in:
Arne Döring 2018-11-14 23:14:16 +01:00 • committed by Araq
commit e012eb1001
57 changed files with 341 additions and 90 deletions

View file

@ -1,3 +1,8 @@
discard """
nimout: "##"
"""
import macros
proc testProc: string {.compileTime.} =
@ -14,9 +19,9 @@ when true:
const
x = testProc()
echo "##", x, "##"
doAssert x == ""
# bug #1310
static:
var i, j: set[int8] = {}
var k = i + j
var i, j: set[int8] = {}
var k = i + j