Skip to content

Commit 77eafab

Browse files
committed
Add a test for the returned attribute on swift_bridgeObjectRetain
1 parent 4198f28 commit 77eafab

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)