Skip to content

Commit 662bbb5

Browse files
committed
Trivial test fix for merge conflict.
1 parent 0bdc8b2 commit 662bbb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/SILGen/foreign_errors.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func testPreservedResultBridged() throws -> Int {
240240

241241
// CHECK-LABEL: sil hidden @_TF14foreign_errors26testPreservedResultBridgedFzT_Si
242242
// CHECK: [[T0:%.*]] = metatype $@thick ErrorProne.Type
243-
// CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.ounceWord!1.foreign : (ErrorProne.Type) -> () throws -> Int , $@convention(objc_method) (ImplicitlyUnwrappedOptional<AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int
243+
// CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.ounceWord!1.foreign : (ErrorProne.Type) -> () throws -> Int , $@convention(objc_method) (Optional<AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int
244244
// CHECK: [[OPTERR:%.*]] = alloc_stack $Optional<NSError>
245245
// CHECK: [[RESULT:%.*]] = apply [[T1]](
246246
// CHECK: [[T0:%.*]] = struct_extract [[RESULT]]
@@ -258,7 +258,7 @@ func testPreservedResultInverted() throws {
258258

259259
// CHECK-LABEL: sil hidden @_TF14foreign_errors27testPreservedResultInvertedFzT_T_
260260
// CHECK: [[T0:%.*]] = metatype $@thick ErrorProne.Type
261-
// CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.once!1.foreign : (ErrorProne.Type) -> () throws -> () , $@convention(objc_method) (ImplicitlyUnwrappedOptional<AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int32
261+
// CHECK: [[T1:%.*]] = class_method [volatile] [[T0]] : $@thick ErrorProne.Type, #ErrorProne.once!1.foreign : (ErrorProne.Type) -> () throws -> () , $@convention(objc_method) (Optional<AutoreleasingUnsafeMutablePointer<Optional<NSError>>>, @objc_metatype ErrorProne.Type) -> Int32
262262
// CHECK: [[OPTERR:%.*]] = alloc_stack $Optional<NSError>
263263
// CHECK: [[RESULT:%.*]] = apply [[T1]](
264264
// CHECK: [[T0:%.*]] = struct_extract [[RESULT]]

0 commit comments

Comments
 (0)