32 bit fixes (#10608)

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

View File

@@ -1,10 +1,7 @@
discard """
output: '''TBar2
TFoo
16
12
16
12'''
'''
"""
## XXX this output needs to be adapated for VCC which produces different results.
@@ -67,29 +64,6 @@ var aa = makeWindow()
thisCausesError(dd, aa)
# bug #4763
type
testObject_1 = object
size: int32
value: int64
testObject_2 {.packed.} = object
size: int32
value: int64
testObject_3[T] = object
size: int32
value: T
testObject_4 {.packed.} [T] = object
size: int32
value: T
echo sizeof(testObject_1)
echo sizeof(testObject_2)
echo sizeof(testObject_3[int64])
echo sizeof(testObject_4[int64])
# bug #5892
type
Foo6 = distinct array[4, float32]