Skip to content

Commit 43f39b0

Browse files
authored
Merge pull request #3958 from rjmccall/c-struct-padding-test-case-32-bit
Fix test case for 32-bit systems.
2 parents 3200f6c + b16e0cb commit 43f39b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Reflection/typeref_decoding_imported.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
// CHECK-32: ==============
2626

2727
// CHECK-32: - __C.MyCStruct:
28-
// CHECK-32: Size: 9
28+
// CHECK-32: Size: 12
2929
// CHECK-32: Alignment: 4
3030
// CHECK-32: Stride: 12
3131
// CHECK-32: NumExtraInhabitants: 0
@@ -43,7 +43,7 @@
4343
// CHECK-32: NumExtraInhabitants: 0
4444

4545
// CHECK-i386: - __C.MyCStructWithBitfields:
46-
// CHECK-i386: Size: 2
46+
// CHECK-i386: Size: 4
4747
// CHECK-i386: Alignment: 4
4848
// CHECK-i386: Stride: 4
4949
// CHECK-i386: NumExtraInhabitants: 0

0 commit comments

Comments
 (0)