Skip to content

Commit 14930c8

Browse files
authored
Merge pull request #25540 from benlangmuir/attempt-attr-fix
Attempt to fix attr/require_explicit_availability test on non-mac
2 parents 247cdc1 + 0f0ad8c commit 14930c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/attr/require_explicit_availability.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-swift-frontend -typecheck -parse-stdlib -target x86_64-apple-macosx10.10 -verify -require-explicit-availability -require-explicit-availability-target "macOS 10.10" %s
2-
// RUN: %target-swift-frontend -typecheck -parse-stdlib -target x86_64-apple-macosx10.10 -warnings-as-errors %s
1+
// RUN: %swift -typecheck -parse-stdlib -target x86_64-apple-macosx10.10 -verify -require-explicit-availability -require-explicit-availability-target "macOS 10.10" %s
2+
// RUN: %swift -typecheck -parse-stdlib -target x86_64-apple-macosx10.10 -warnings-as-errors %s
33

44
public struct S { // expected-warning {{public declarations should have an availability attribute with -require-explicit-availability}}
55
public func method() { }

0 commit comments

Comments
 (0)