32 bit fixes (#10608)

This commit is contained in:
Arne Döring 2019-02-12 22:00:31 +01:00 • committed by Andreas Rumpf
commit 28394153ab
26 changed files with 165 additions and 135 deletions

View file

@ -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()