parent
a236002e54
commit
b03d6c9b2f
2 changed files with 15 additions and 3 deletions
|
|
@ -27,6 +27,7 @@ finalizer
|
|||
aaaaa
|
||||
hello
|
||||
ok
|
||||
true
|
||||
closed
|
||||
destroying variable: 20
|
||||
destroying variable: 10
|
||||
|
|
@ -422,3 +423,13 @@ proc test3 =
|
|||
|
||||
static: test3() # was buggy
|
||||
test3()
|
||||
|
||||
# bug #17712
|
||||
proc t17712 =
|
||||
var ppv = new int
|
||||
discard @[ppv]
|
||||
var el: ref int
|
||||
el = [ppv][0]
|
||||
echo el != nil
|
||||
|
||||
t17712()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue