the test suite is mostly green again
This commit is contained in:
parent
84806e6a61
commit
72f2a6e275
19 changed files with 46 additions and 67 deletions
|
|
@ -6,7 +6,7 @@ discard """
|
|||
|
||||
var testNumber = 0
|
||||
|
||||
template test(opr, a, b, c: expr): stmt =
|
||||
template test(opr, a, b, c: expr): stmt {.immediate.} =
|
||||
# test the expression at compile and runtime
|
||||
block:
|
||||
const constExpr = opr(a, b)
|
||||
|
|
@ -43,5 +43,3 @@ test(`shl`, 0xffffffff'i32, 0x4'i32, 0xfffffff0'i32)
|
|||
|
||||
Echo("Success") #OUT Success
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue