parent
f8b71f7075
commit
c6fc3b2eae
2 changed files with 25 additions and 3 deletions
|
|
@ -1,6 +1,7 @@
|
|||
discard """
|
||||
cmd: "nim c -d:release $file"
|
||||
output: 1
|
||||
output: '''1
|
||||
-1'''
|
||||
"""
|
||||
|
||||
proc bug() : void =
|
||||
|
|
@ -12,3 +13,9 @@ proc bug() : void =
|
|||
echo x
|
||||
|
||||
bug()
|
||||
|
||||
# bug #19051
|
||||
type GInt[T] = int
|
||||
|
||||
var a = 1
|
||||
echo -a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue