tests themselves contain the expected result
This commit is contained in:
parent
cbee9c4e1a
commit
2cdfe35e73
144 changed files with 957 additions and 200 deletions
|
|
@ -1,3 +1,8 @@
|
|||
discard """
|
||||
file: "tsidee1.nim"
|
||||
line: 12
|
||||
errormsg: "\'SideEffectLyer\' can have side effects"
|
||||
"""
|
||||
|
||||
var
|
||||
global: int
|
||||
|
|
@ -9,3 +14,5 @@ proc SideEffectLyer(x, y: int): int {.noSideEffect.} = #ERROR_MSG 'SideEffectLye
|
|||
|
||||
echo SideEffectLyer(1, 3)
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue