This commit is contained in:
Dominik Picheta 2014-04-15 13:53:02 +01:00
commit 9e7c0fd2b0
2 changed files with 13 additions and 5 deletions

View file

@ -1,16 +1,21 @@
discard """
output: '''0
output: '''0 0
pre test a:test b:1 c:2 haha:3
assignment test a:test b:1 c:2 haha:3
'''
"""
type TSomeObj = object of TObject
Variable: int
# bug #1005
type
TSomeObj = object of TObject
a: int
PSomeObj = ref object
a: int
var a = TSomeObj()
echo a.Variable.`$`
var b = PSomeObj()
echo a.a, " ", b.a
# bug #575