Skip to content

Commit 3f4355c

Browse files
committed
Lower versions in new enum availability test
32-bit iOS Simulator tests are compiled with an iOS 7 depolyment target, so the “always available” case wasn’t available there, causing a spurious test failure.
1 parent 5da6668 commit 3f4355c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/SILGen/enum_raw_representable_available.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public enum E: Int {
1111
case sacrificial = -500
1212

1313
case normal = -1000
14-
@available(macOS 10.8, iOS 8, watchOS 1, tvOS 8, *)
14+
@available(macOS 10.8, iOS 7, watchOS 1, tvOS 7, *)
1515
case alwaysAvailable = -2000
1616
@available(macOS 500.600.700, iOS 500.600.700, watchOS 500.600.700, tvOS 500.600.700, *)
1717
case potentiallyUnavailable = -3000

0 commit comments

Comments
 (0)