Skip to content

Commit aaa6b45

Browse files
authored
Merge pull request #32412 from DougGregor/explicit-availability-macos-only
[Test] Run macOS-specific test only on macOS
2 parents f159175 + 030392a commit aaa6b45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/attr/require_explicit_availability.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Test the -require-explicit-availability flag
2+
// REQUIRES: OS=macosx
23

34
// RUN: %swiftc_driver -typecheck -parse-stdlib -target x86_64-apple-macosx10.10 -Xfrontend -verify -require-explicit-availability -require-explicit-availability-target "macOS 10.10" %s
45
// RUN: %swiftc_driver -typecheck -parse-stdlib -target x86_64-apple-macosx10.10 -warnings-as-errors %s

0 commit comments

Comments
 (0)