Skip to content

Commit cbd1c59

Browse files
committed
Don’t run #available synthesis test on Linux
1 parent a6c2379 commit cbd1c59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/SILGen/enum_raw_representable_available.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// RUN: %target-swift-emit-silgen -emit-sorted-sil %s | %FileCheck %s
33
// RUN: %target-swift-emit-silgen -emit-sorted-sil -enable-resilience %s | %FileCheck -check-prefix=CHECK-RESILIENT %s
44

5+
// Really just requires a platform with meaningful runtime #available() tests.
6+
// REQUIRES: objc_interop
7+
58
public enum E: Int {
69
case a, b
710
@available(macOS 500, iOS 500, watchOS 500, tvOS 500, *)

0 commit comments

Comments
 (0)