Skip to content

Commit a6ff253

Browse files
committed
test: make portable to LLP64 targets (harder)
`Int` is not usable for LLP64 targets, use an explicit `Int32` when bridging an ObjC enumeration.
1 parent f5ba89d commit a6ff253

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
@@ -28,8 +28,8 @@ public enum FutureproofEnum: Int {
2828
case c = 100
2929
}
3030

31-
// CHECK-LABEL: public enum FrozenObjCEnum : Int
32-
@_frozen @objc public enum FrozenObjCEnum: Int {
31+
// CHECK-LABEL: public enum FrozenObjCEnum : Int32
32+
@_frozen @objc public enum FrozenObjCEnum: Int32 {
3333
// CHECK-NEXT: case a = 1{{$}}
3434
case a = 1
3535
// CHECK-NEXT: case b = 10{{$}}

0 commit comments

Comments
 (0)