Skip to content

Commit 030392a

Browse files
committed
[Test] Run macOS-specific test only on macOS
1 parent f159175 commit 030392a

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)