Skip to content

Commit 4efb210

Browse files
authored
Merge pull request #75546 from xedin/rdar-132551887
[Tests] NFC: Fix init accessors test-case to support both 32 and 64 b…
2 parents d7e45ab + 3a974fa commit 4efb210

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ModuleInterface/init_accessors.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public struct Transparent {
9999
import A
100100

101101
// CHECK-LABEL: sil hidden @$s6Client15testTransparentyyF : $@convention(thin) () -> ()
102-
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int64)
102+
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int{{[0-9]+}})
103103
// CHECK-NEXT: // function_ref Transparent.init(x:)
104104
// CHECK-NEXT: [[TRANSPARENT_REF:%.*]] = function_ref @$s1A11TransparentV1xACSi_tcfC : $@convention(method) (Int, @thin Transparent.Type) -> Transparent
105105
// CHECK-NEXT: apply [[TRANSPARENT_REF]]([[X]], %0) : $@convention(method) (Int, @thin Transparent.Type) -> Transparent
@@ -110,7 +110,7 @@ func testTransparent() {
110110
// CHECK-LABEL: sil shared @$s1A11TransparentV1xACSi_tcfC : $@convention(method) (Int, @thin Transparent.Type) -> Transparent
111111

112112
// CHECK-LABEL: sil hidden @$s6Client13testInlinableyyF : $@convention(thin) () -> ()
113-
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int64)
113+
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int{{[0-9]+}})
114114
// CHECK-NEXT: // function_ref Inlinable.init(x:)
115115
// CHECK-NEXT: [[INLINABLE_REF:%.*]] = function_ref @$s1A9InlinableV1xACSi_tcfC : $@convention(method) (Int, @thin Inlinable.Type) -> Inlinable
116116
// CHECK-NEXT: apply [[INLINABLE_REF]]([[X]], %0) : $@convention(method) (Int, @thin Inlinable.Type) -> Inlinable

0 commit comments

Comments
 (0)