mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Tests] NFC: Fix init accessors test-case to support both 32 and 64 bit platforms
Resolves: rdar://132551887
This commit is contained in:
@@ -99,7 +99,7 @@ public struct Transparent {
|
||||
import A
|
||||
|
||||
// CHECK-LABEL: sil hidden @$s6Client15testTransparentyyF : $@convention(thin) () -> ()
|
||||
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int64)
|
||||
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int{{[0-9]+}})
|
||||
// CHECK-NEXT: // function_ref Transparent.init(x:)
|
||||
// CHECK-NEXT: [[TRANSPARENT_REF:%.*]] = function_ref @$s1A11TransparentV1xACSi_tcfC : $@convention(method) (Int, @thin Transparent.Type) -> Transparent
|
||||
// CHECK-NEXT: apply [[TRANSPARENT_REF]]([[X]], %0) : $@convention(method) (Int, @thin Transparent.Type) -> Transparent
|
||||
@@ -110,7 +110,7 @@ func testTransparent() {
|
||||
// CHECK-LABEL: sil shared @$s1A11TransparentV1xACSi_tcfC : $@convention(method) (Int, @thin Transparent.Type) -> Transparent
|
||||
|
||||
// CHECK-LABEL: sil hidden @$s6Client13testInlinableyyF : $@convention(thin) () -> ()
|
||||
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int64)
|
||||
// CHECK: [[X:%.*]] = struct $Int (%1 : $Builtin.Int{{[0-9]+}})
|
||||
// CHECK-NEXT: // function_ref Inlinable.init(x:)
|
||||
// CHECK-NEXT: [[INLINABLE_REF:%.*]] = function_ref @$s1A9InlinableV1xACSi_tcfC : $@convention(method) (Int, @thin Inlinable.Type) -> Inlinable
|
||||
// CHECK-NEXT: apply [[INLINABLE_REF]]([[X]], %0) : $@convention(method) (Int, @thin Inlinable.Type) -> Inlinable
|
||||
|
||||
Reference in New Issue
Block a user