make tests green again
This commit is contained in:
parent
c38a608c90
commit
9364369c1f
9 changed files with 34 additions and 25 deletions
|
|
@ -9,8 +9,8 @@ proc noret1*(i: int) {.noreturn.} =
|
|||
proc noret2*(i: int): void {.noreturn.} =
|
||||
echo i
|
||||
|
||||
noret1(1)
|
||||
noret2(2)
|
||||
if true: noret1(1)
|
||||
if true: noret2(2)
|
||||
|
||||
var p {.used.}: proc(i: int): int
|
||||
doAssert(not compiles(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue