mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-27 09:43:58 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user