Skip to content

Commit 89850ac

Browse files
committed
Update test/SILGen/keypaths_objc_optional.swift for SDK availability change.
Relax the CHECK: line here to tolerate an [available] attribute on the `convertObjCBoolToBool` operation that was added in recent Apple SDKs. rdar://129894685
1 parent 7cf82b7 commit 89850ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILGen/keypaths_objc_optional.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ func testKeyPathAccessorsForOptionalStorageComponents() {
6666
_ = \ObjCProtocol.flag
6767
}
6868

69-
// CHECK-macosx-x86_64: sil [transparent] [serialized] @$s10ObjectiveC22_convertObjCBoolToBoolySbAA0cD0VF : $@convention(thin) (ObjCBool) -> Bool
69+
// CHECK-macosx-x86_64: sil [transparent] [serialized] {{.*}}@$s10ObjectiveC22_convertObjCBoolToBoolySbAA0cD0VF : $@convention(thin) (ObjCBool) -> Bool

0 commit comments

Comments
 (0)