Skip to content

Commit b53af94

Browse files
committed
[send-non-sendable] Add REQUIRES: asserts to concurrency tests that use SendNonSendable.
1 parent fca9db2 commit b53af94

File tree

76 files changed

+80
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+80
-25
lines changed

test/Concurrency/LLDBDebuggerFunctionActorExtension.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -debugger-support %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// This test simulates LLDB's expression evaluator making an otherwise illegal
910
// synchronous call into an extension of an actor, as it would to run `p n` in

test/Concurrency/actor_call_implicitly_async.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend -disable-availability-checking -warn-concurrency -parse-as-library %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
33

44
// REQUIRES: concurrency
5-
5+
// REQUIRES: asserts
66

77
// some utilities
88
func thrower() throws {}

test/Concurrency/actor_defer.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: %target-swift-frontend -parse-as-library -emit-sil -enable-actor-data-race-checks -o - %s | %FileCheck %s
77

88
// REQUIRES: concurrency
9+
// REQUIRES: asserts
910

1011
func doSomething() {}
1112

test/Concurrency/actor_derived_conformances.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
actor A1: Comparable {}
910
// expected-error@-1 {{type 'A1' does not conform to protocol 'Comparable'}}

test/Concurrency/actor_existentials.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
protocol P: Actor {
910
func f()

test/Concurrency/actor_inout_isolation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -verify-additional-prefix targeted-complete-sns- -verify-additional-prefix complete-sns- -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// Verify that we don't allow actor-isolated state to be passed via inout
910
// Check:

test/Concurrency/actor_isolation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: %target-swift-frontend -I %t -disable-availability-checking -warn-concurrency -parse-as-library -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable %s
77

88
// REQUIRES: concurrency
9+
// REQUIRES: asserts
910

1011
import OtherActors // expected-remark{{add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'OtherActors'}}{{1-1=@preconcurrency }}
1112

test/Concurrency/actor_isolation_cycle.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
public protocol P {
910
associatedtype T

test/Concurrency/actor_isolation_objc.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: concurrency
77
// REQUIRES: objc_interop
8+
// REQUIRES: asserts
89

910
import Foundation
1011

test/Concurrency/actor_isolation_unsafe.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -verify-additional-prefix complete-sns- -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
@globalActor
910
actor SomeGlobalActor {

test/Concurrency/actor_keypath_isolation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-swift-frontend -disable-availability-checking -warn-concurrency %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
33

44
// REQUIRES: concurrency
5+
// REQUIRES: asserts
56

67
class Box { // expected-note 3{{class 'Box' does not conform to the 'Sendable' protocol}}
78
let size : Int = 0

test/Concurrency/actor_withCancellationHandler.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: %target-swift-frontend -I %t -disable-availability-checking -warn-concurrency -parse-as-library %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
66

77
// REQUIRES: concurrency
8+
// REQUIRES: asserts
89

910
actor foo {
1011
var t: Task<Void, Error>?

test/Concurrency/async_cancellation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
enum PictureData {
910
case value(String)

test/Concurrency/async_computed_property.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
func asyncFunc(_ value: String) async {}
910

test/Concurrency/async_conformance.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: objc_interop
77
// REQUIRES: concurrency
8+
// REQUIRES: asserts
89

910
import Foundation
1011

test/Concurrency/async_initializer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// RUN: %target-swift-frontend -enable-experimental-concurrency -disable-availability-checking -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable %s -verify-additional-prefix complete-and-sns-
55

66
// REQUIRES: concurrency
7-
7+
// REQUIRES: asserts
88

99
////
1010
// some functions to play with

test/Concurrency/async_initializer_objc.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: concurrency
77
// REQUIRES: objc_interop
8+
// REQUIRES: asserts
89

910
import Foundation
1011

test/Concurrency/async_let_capture.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
func autoclosureCapture(_: @autoclosure () async throws -> Int) async {}
910
func nonescapingCapture(_: () async throws -> Int) {}

test/Concurrency/async_let_isolation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
actor MyActor {
910
let immutable: Int = 17

test/Concurrency/async_main_invalid_global_actor.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -parse-as-library %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
@globalActor
910
actor Kat {

test/Concurrency/async_main_mainactor_isolation.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -parse-as-library %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// This should pass without any warnings or errors
910

test/Concurrency/async_sequence_syntax.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// expected-note@+2{{add 'async' to function 'missingAsync' to make it asynchronous}}
910
@available(SwiftStdlib 5.1, *)

test/Concurrency/async_task_base_priority.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
// RUN: %target-run-simple-swift( -Xfrontend -disable-availability-checking %import-libdispatch -parse-as-library )
22

3-
// RUN: %target-swift-frontend -disable-availability-checking %import-libdispatch -parse-as-library -emit-sil -o /dev/null -strict-concurrency=targeted %s
4-
// RUN: %target-swift-frontend -disable-availability-checking %import-libdispatch -parse-as-library -emit-sil -o /dev/null -strict-concurrency=complete %s
5-
// RUN: %target-swift-frontend -disable-availability-checking %import-libdispatch -parse-as-library -emit-sil -o /dev/null -strict-concurrency=complete -enable-experimental-feature SendNonSendable %s
6-
73
// REQUIRES: executable_test
84
// REQUIRES: concurrency
95
// REQUIRES: libdispatch

test/Concurrency/async_task_groups.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

6-
// REQUIRES: executable_test
76
// REQUIRES: concurrency
7+
// REQUIRES: asserts
88
// REQUIRES: libdispatch
99

1010
@available(SwiftStdlib 5.1, *)

test/Concurrency/async_task_locals_basic_warnings.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// RUN: %target-swift-frontend -I %t -disable-availability-checking -warn-concurrency -parse-as-library %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
66

77
// REQUIRES: concurrency
8-
9-
// REQUIRES: concurrency
8+
// REQUIRES: asserts
109

1110
@available(SwiftStdlib 5.1, *)
1211
actor Test {

test/Concurrency/async_task_priority.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
// RUN: %target-codesign %t/async_task_priority
55
// RUN: %target-run %t/async_task_priority
66

7-
// RUN: %target-build-swift %s -Xfrontend -disable-availability-checking -parse-as-library -o %t/async_task_priority -strict-concurrency=targeted
8-
// RUN: %target-build-swift %s -Xfrontend -disable-availability-checking -parse-as-library -o %t/async_task_priority -strict-concurrency=complete
9-
// RUN: %target-build-swift %s -Xfrontend -disable-availability-checking -parse-as-library -o %t/async_task_priority -strict-concurrency=complete -Xfrontend -enable-experimental-feature -Xfrontend SendNonSendable
10-
117
// REQUIRES: VENDOR=apple
128
// REQUIRES: executable_test
139
// REQUIRES: concurrency

test/Concurrency/async_tasks.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-swift-frontend -strict-concurrency=strict -disable-availability-checking %s -o /dev/null -verify -emit-sil -enable-experimental-feature SendNonSendable
44

55
// REQUIRES: concurrency
6+
// REQUIRES: asserts
67

78
@available(SwiftStdlib 5.1, *)
89
func someAsyncFunc() async -> String { "" }

test/Concurrency/async_throwing.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// These tests cover various interactions with async functions that are
910
// either throws or rethrows.

test/Concurrency/attr_discardableResult_async_await.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// https://github.com/apple/swift/issues/60276
910

test/Concurrency/concurrency_module_shadowing.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %target-swift-frontend -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
99

1010
// REQUIRES: concurrency
11-
11+
// REQUIRES: asserts
1212

1313
import ShadowsConcur
1414

test/Concurrency/concurrency_warnings.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-swift-frontend -warn-concurrency -parse-as-library %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
33

44
// REQUIRES: concurrency
5+
// REQUIRES: asserts
56

67
class GlobalCounter {
78
var counter: Int = 0

test/Concurrency/concurrent_value_checking.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-swift-frontend -disable-availability-checking -warn-concurrency -parse-as-library %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
33

44
// REQUIRES: concurrency
5+
// REQUIRES: asserts
56

67
class NotConcurrent { } // expected-note 16{{class 'NotConcurrent' does not conform to the 'Sendable' protocol}}
78
// expected-complete-note @-1 11{{class 'NotConcurrent' does not conform to the 'Sendable' protocol}}

test/Concurrency/concurrent_value_checking_objc.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// REQUIRES: concurrency
55
// REQUIRES: objc_interop
6+
// REQUIRES: asserts
67

78
import Foundation
89

test/Concurrency/concurrent_value_inference.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-swift-frontend -enable-library-evolution -warn-concurrency %s -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable
33

44
// REQUIRES: concurrency
5+
// REQUIRES: asserts
56

67
class C1 { } // expected-note {{class 'C1' does not conform to the 'Sendable' protocol}}
78
final class C2: Sendable { }

test/Concurrency/concurrent_value_inference_public.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %target-swift-frontend -enable-infer-public-sendable %s -emit-sil -o /dev/null -verify -strict-concurrency=complete
44
// RUN: %target-swift-frontend -enable-infer-public-sendable %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

6+
// REQUIRES: asserts
7+
68
func acceptCV<T: Sendable>(_: T) { }
79

810
public struct PublicStruct {

test/Concurrency/concurrentfunction_capturediagnostics.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -enable-experimental-flow-sensitive-concurrent-captures -verify -emit-sil %s -o - >/dev/null -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
func f(_: @escaping @Sendable () -> Void) { }
910
open class F {

test/Concurrency/custom_executor_enqueue_availability.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: concurrency
77
// REQUIRES: OS=macosx
8+
// REQUIRES: asserts
89

910
// rdar://106849189 move-only types should be supported in freestanding mode
1011
// UNSUPPORTED: freestanding

test/Concurrency/custom_executor_enqueue_deprecation_on_executor_extension.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable %s
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// rdar://106849189 move-only types should be supported in freestanding mode
910
// UNSUPPORTED: freestanding

test/Concurrency/custom_executor_enqueue_impls.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable %s
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// rdar://106849189 move-only types should be supported in freestanding mode
910
// UNSUPPORTED: freestanding

test/Concurrency/default_actor_definit.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -emit-sil %s -disable-availability-checking -strict-concurrency=complete -enable-experimental-feature SendNonSendable | %FileCheck %s
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
actor A {
910
var x: String = "Hello"

test/Concurrency/derived_conformances_nonisolated.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking -warn-concurrency -parse-as-library %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
@MainActor
910
struct X1: Equatable, Hashable, Codable {

test/Concurrency/dispatch_inference.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
// REQUIRES: concurrency
77
// REQUIRES: libdispatch
8+
// REQUIRES: asserts
89

910
import Dispatch
1011

test/Concurrency/experimental_feature_strictconcurrency.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-swift-frontend -disable-availability-checking -parse-as-library -enable-experimental-feature StrictConcurrency=complete -enable-experimental-feature GlobalConcurrency -emit-sil -o /dev/null -verify -enable-experimental-feature SendNonSendable %s
44

55
// REQUIRES: concurrency
6+
// REQUIRES: asserts
67

78
class C1 { } // expected-note{{class 'C1' does not conform to the 'Sendable' protocol}}
89
class C2 { }

test/Concurrency/experimental_feature_strictconcurrency_targeted.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
// RUN: %target-swift-frontend %s -emit-sil -o /dev/null -verify -verify-additional-prefix complete- -strict-concurrency=complete -enable-experimental-feature SendNonSendable
44

55
// REQUIRES: concurrency
6+
// REQUIRES: asserts
67

78
class C { // expected-note {{class 'C' does not conform to the 'Sendable' protocol}}
89
// expected-complete-note @-1 {{class 'C' does not conform to the 'Sendable' protocol}}

test/Concurrency/flow_isolation.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -strict-concurrency=complete -swift-version 5 -parse-as-library -emit-sil -verify %s
22
// RUN: %target-swift-frontend -strict-concurrency=complete -swift-version 5 -parse-as-library -emit-sil -verify %s -enable-experimental-feature SendNonSendable
33

4+
// REQUIRES: asserts
5+
46
func randomBool() -> Bool { return false }
57
func logTransaction(_ i: Int) {}
68

test/Concurrency/global_actor_from_ordinary_context.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify-additional-prefix complete-and-sns- -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable
55

66
// REQUIRES: concurrency
7+
// REQUIRES: asserts
78

89
// provides coverage for rdar://71548470
910

test/Concurrency/global_actor_function_types.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: %target-swift-frontend -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable -verify-additional-prefix complete-sns-
66

77
// REQUIRES: concurrency
8+
// REQUIRES: asserts
89

910
actor SomeActor { }
1011

test/Concurrency/global_actor_inference.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// RUN: %target-swift-frontend -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -enable-experimental-feature SendNonSendable -verify-additional-prefix complete-sns-
88

99
// REQUIRES: concurrency
10+
// REQUIRES: asserts
1011

1112
import other_global_actor_inference
1213

0 commit comments

Comments
 (0)