File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4
4
// RUN: %target-swift-frontend -compile-module-from-interface %t/Foo.swiftinterface -o %t/Foo.public.swiftmodule -module-name Foo
5
5
// RUN: %target-swift-frontend -compile-module-from-interface %t/Foo.private.swiftinterface -o %t/Foo.private.swiftmodule -module-name Foo
6
6
7
- @_spi_available ( macOS 10 . 10 , * )
7
+ @_spi_available ( macOS 10 . 10 , tvOS 14 . 0 , * )
8
8
@available ( iOS 8 . 0 , * )
9
9
public class SPIClass { }
10
10
11
11
// RUN: %FileCheck %s -check-prefix CHECK-PUBLIC < %t/Foo.swiftinterface
12
12
// RUN: %FileCheck %s -check-prefix CHECK-PRIVATE < %t/Foo.private.swiftinterface
13
13
14
14
// CHECK-PUBLIC: @available(macOS, unavailable)
15
+ // CHECK-PUBLIC: @available(tvOS, unavailable)
16
+
15
17
// CHECK-PRIVATE: @_spi_available(macOS, introduced: 10.10)
18
+ // CHECK-PRIVATE: @_spi_available(tvOS, introduced: 14.0)
You can’t perform that action at this time.
0 commit comments