This reverts commit fec19c980e.
This commit is contained in:
parent
1663ad77e3
commit
632af8afad
2 changed files with 0 additions and 33 deletions
|
|
@ -1,30 +0,0 @@
|
|||
discard """
|
||||
nimout: '''nil
|
||||
nil
|
||||
nil
|
||||
nil
|
||||
nil
|
||||
'''
|
||||
"""
|
||||
|
||||
block:
|
||||
static:
|
||||
let a = cast[pointer](nil)
|
||||
echo a.repr
|
||||
|
||||
block:
|
||||
static:
|
||||
echo cast[ptr int](nil).repr
|
||||
|
||||
block:
|
||||
const str = cast[ptr int](nil)
|
||||
static:
|
||||
echo str.repr
|
||||
|
||||
block:
|
||||
static:
|
||||
echo cast[ptr int](nil).repr
|
||||
|
||||
block:
|
||||
static:
|
||||
echo cast[RootRef](nil).repr
|
||||
Loading…
Add table
Add a link
Reference in a new issue