Skip to content

Commit 530e292

Browse files
committed
Merge remote-tracking branch 'origin/master' into master-next
2 parents 50e2293 + 14930c8 commit 530e292

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)