Skip to content

Commit 5cca4b9

Browse files
committed
Add REQUIRES line to test.
1 parent 1eed6bd commit 5cca4b9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/Concurrency/nonisolated_inherits_isolation_sema.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// RUN: %target-typecheck-verify-swift -swift-version 6 -enable-experimental-feature NonIsolatedAsyncInheritsIsolationFromContext -parse-as-library
22

3+
// REQUIRES: asserts
4+
// REQUIRES: concurrency
5+
// REQUIRES: swift_feature_NonIsolatedAsyncInheritsIsolationFromContext
6+
37
class NonSendable {} // expected-note {{}}
48

59
@MainActor var global = NonSendable()

0 commit comments

Comments
 (0)