Skip to content

Commit c8ac18d

Browse files
Merge pull request #16309 from aschwaighofer/add_swift_bridgeObjectRetain_returned_test_case
Add a test for the returned attribute on swift_bridgeObjectRetain
2 parents 5da39be + 77eafab commit c8ac18d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/IRGen/bridge_object_x86_64.sil

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sil_vtable C {}
1212
@objc protocol ObjC {}
1313

1414
// CHECK-LABEL: define{{( dllexport)?}}{{( protected)?}} swiftcc void @retain_release_bridge_object
15-
// CHECK: call [[BRIDGE:%swift.bridge\*]] @swift_bridgeObjectRetain
15+
// CHECK: call [[BRIDGE:%swift.bridge\*]] @swift_bridgeObjectRetain{{.*}}returned
1616
// CHECK: call void @swift_bridgeObjectRelease
1717
sil @retain_release_bridge_object : $(Builtin.BridgeObject) -> () {
1818
entry(%b : $Builtin.BridgeObject):

0 commit comments

Comments
 (0)