Skip to content

Commit 6e5a083

Browse files
committed
added test for unchecked sendable
1 parent 7ec4e69 commit 6e5a083

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Interop/Cxx/ergonomics/swift-bridging-annotations.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ class SWIFT_CONFORMS_TO_PROTOCOL(SwiftMod.Proto) ConformsTo {
8080
public:
8181
};
8282

83+
class SWIFT_UNCHECKED_SENDABLE UnsafeSendable {
84+
public:
85+
};
86+
8387

8488
// CHECK: struct SelfContained {
8589

@@ -101,3 +105,4 @@ public:
101105

102106
// CHECK: struct ConformsTo : Proto {
103107

108+
// CHECK: struct UnsafeSendable : @unchecked Sendable {

0 commit comments

Comments
 (0)