version 0.8.8
This commit is contained in:
parent
3dafd6856b
commit
7bf98411b6
52 changed files with 15732 additions and 6193 deletions
17
tests/accept/run/tcgbug.nim
Normal file
17
tests/accept/run/tcgbug.nim
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
|
||||
type
|
||||
TObj = object
|
||||
x, y: int
|
||||
PObj = ref TObj
|
||||
|
||||
proc p(a: PObj) =
|
||||
a.x = 0
|
||||
|
||||
proc q(a: var PObj) =
|
||||
a.p()
|
||||
|
||||
var
|
||||
a: PObj
|
||||
new(a)
|
||||
q(a)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue