Skip to content

Commit 363b875

Browse files
committed
Tests: Update sending_conditional_suppression.swift.
1 parent ab68c29 commit 363b875

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Concurrency/sending_conditional_suppression.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public struct TestInStruct {
206206
// Make sure that we emit compiler(>= 5.3) when emitting the suppressing check
207207
// to make sure we do not fail if we fail to parse sending in the if block.
208208

209-
// CHECK-NEXT: #if compiler(>=5.3) && $SendingArgsAndResults // Suppression Count: 25
209+
// CHECK: #if compiler(>=5.3) && $SendingArgsAndResults // Suppression Count: 24
210210
// CHECK-NEXT: @inlinable public func withCheckedContinuation<T>(isolation: isolated (any _Concurrency.Actor)? = #isolation, function: Swift.String = #function, _ body: (_Concurrency.CheckedContinuation<T, Swift.Never>) -> Swift.Void) async -> sending T {
211211
// CHECK-NEXT: fatalError()
212212
// CHECK-NEXT: }
@@ -223,14 +223,14 @@ public struct TestInStruct {
223223
fatalError()
224224
}
225225

226-
// CHECK-LABEL: #if compiler(>=5.3) && $SendingArgsAndResults // Suppression Count: 26
226+
// CHECK-LABEL: #if compiler(>=5.3) && $SendingArgsAndResults // Suppression Count: 25
227227
// CHECK-NEXT: public var publicGlobal: (sending test.NonSendableKlass) -> ()
228228
// CHECK-NEXT: #else
229229
// CHECK-NEXT: public var publicGlobal: (consuming test.NonSendableKlass) -> ()
230230
// CHECK-NEXT: #endif
231231
public var publicGlobal: (sending NonSendableKlass) -> () = { x in fatalError() }
232232

233-
// CHECK-LABEL: #if compiler(>=5.3) && $SendingArgsAndResults // Suppression Count: 27
233+
// CHECK-LABEL: #if compiler(>=5.3) && $SendingArgsAndResults // Suppression Count: 26
234234
// CHECK-NEXT: @usableFromInline
235235
// CHECK-NEXT: internal var usableFromInlineGlobal: (sending test.NonSendableKlass) -> ()
236236
// CHECK-NEXT: #else

0 commit comments

Comments
 (0)