Skip to content

Commit 6e0a8be

Browse files
committed
more test stuff
1 parent b57f95d commit 6e0a8be

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/SILGen/objc_preconcurrency.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
@objc protocol P {
66
@preconcurrency @objc optional func f(_ completionHandler: @Sendable @escaping () -> Void)
77
@preconcurrency var sendyHandler: @Sendable () -> Void { get set }
8-
@preconcurrency var maybeMainHandler: (@MainActor () -> Void)? { get set }
98
}
109

1110
// CHECK-LABEL: sil hidden [ossa] @$s19objc_preconcurrency19testDynamicDispatch1p17completionHandleryAA1P_p_yyctF
@@ -44,7 +43,3 @@ func testInoutAccess(_ grass: NSTouchGrass) {
4443
func testProtocolVarAccess(p: P) {
4544
modify(&p.sendyHandler)
4645
}
47-
48-
func testProtocolOptionalVarAccess(p: P) {
49-
p.maybeMainHandler?()
50-
}

0 commit comments

Comments
 (0)