Skip to content

Commit 58c91cf

Browse files
committed
Make a test only run on macOS since it uses availability.
1 parent cf93476 commit 58c91cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/Concurrency/assumeIsolated.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %target-build-swift -swift-version 5 %s -enable-upcoming-feature RegionBasedIsolation -strict-concurrency=complete -enable-experimental-feature TransferringArgsAndResults -Xfrontend -verify
22

3+
// REQUIRES: concurrency
4+
// REQUIRES: OS=macosx
5+
36
class NonSendableKlass {} // expected-note 3{{class 'NonSendableKlass' does not conform to the 'Sendable' protocol}}
47

58
@available(macOS 10.15, *)

0 commit comments

Comments
 (0)