Skip to content

Commit 7701b88

Browse files
committed
test: make portable to LLP64 targets
`Int` is not usable for LLP64 targets, use an explicit `Int32` when bridging an ObjC enumeration.
1 parent 43526d0 commit 7701b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ParseableInterface/Inputs/enums-layout-helper.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ public enum FutureproofEnum: Int {
1818
case c = 100
1919
}
2020

21-
// CHECK-LABEL: public enum FutureproofObjCEnum : Int
22-
@objc public enum FutureproofObjCEnum: Int {
21+
// CHECK-LABEL: public enum FutureproofObjCEnum : Int32
22+
@objc public enum FutureproofObjCEnum: Int32 {
2323
// CHECK-NEXT: case a = 1{{$}}
2424
case a = 1
2525
// CHECK-NEXT: case b = 10{{$}}

0 commit comments

Comments
 (0)