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 44// RUN: %target-swift-frontend -compile-module-from-interface %t/Foo.swiftinterface -o %t/Foo.public.swiftmodule -module-name Foo
55// RUN: %target-swift-frontend -compile-module-from-interface %t/Foo.private.swiftinterface -o %t/Foo.private.swiftmodule -module-name Foo
66
7- @_spi_available ( macOS 10 . 10 , * )
7+ @_spi_available ( macOS 10 . 10 , tvOS 14 . 0 , * )
88@available ( iOS 8 . 0 , * )
99public class SPIClass { }
1010
1111// RUN: %FileCheck %s -check-prefix CHECK-PUBLIC < %t/Foo.swiftinterface
1212// RUN: %FileCheck %s -check-prefix CHECK-PRIVATE < %t/Foo.private.swiftinterface
1313
1414// CHECK-PUBLIC: @available(macOS, unavailable)
15+ // CHECK-PUBLIC: @available(tvOS, unavailable)
16+
1517// 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