Skip to content

Commit 5b67aa0

Browse files
committed
Tests: Add missing REQUIRES: swift_feature_CustomAvailability lines.
1 parent c3c0fc4 commit 5b67aa0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/SILGen/availability_query_custom_domains.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
// RUN: -define-dynamic-availability-domain DynamicDomain \
66
// RUN: | %FileCheck %s
77

8+
// REQUIRES: swift_feature_CustomAvailability
9+
810
@available(EnabledDomain)
911
public func availableInEnabledDomain() { }
1012

test/SILGen/availability_query_custom_domains_clang.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: -import-bridging-header %S/Inputs/AvailabilityDomains.h \
44
// RUN: | %FileCheck %s
55

6+
// REQUIRES: swift_feature_CustomAvailability
7+
68
// CHECK-LABEL: sil{{.*}}$s4Test28testIfAvailableEnabledDomainyyF : $@convention(thin) () -> ()
79
public func testIfAvailableEnabledDomain() {
810
// CHECK: bb0:

0 commit comments

Comments
 (0)