32 bit fixes (#10608)
This commit is contained in:
parent
304b1dd34b
commit
28394153ab
26 changed files with 165 additions and 135 deletions
|
|
@ -1,6 +1,5 @@
|
|||
discard """
|
||||
output: '''abc
|
||||
16 == 16'''
|
||||
output: '''abc'''
|
||||
"""
|
||||
|
||||
type
|
||||
|
|
@ -14,20 +13,3 @@ a.x = "abc"
|
|||
doAssert TA.sizeof == string.sizeof
|
||||
|
||||
echo a.x
|
||||
|
||||
##########################################
|
||||
# bug #9794
|
||||
##########################################
|
||||
type
|
||||
imported_double {.importc: "double".} = object
|
||||
|
||||
Pod = object
|
||||
v* : imported_double
|
||||
seed*: int32
|
||||
|
||||
Pod2 = tuple[v: imported_double, seed: int32]
|
||||
|
||||
proc test() =
|
||||
echo sizeof(Pod), " == ",sizeof(Pod2)
|
||||
|
||||
test()
|
||||
Loading…
Add table
Add a link
Reference in a new issue