Skip to content

Commit a55392b

Browse files
committed
Make a test only run on macOS since it uses availability.
(cherry picked from commit 58c91cf)
1 parent 87f208f commit a55392b

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)