mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Disable availability checking in tests that use concurrency
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// RUN: %empty-directory(%t)
|
||||
// RUN: %target-swift-frontend -emit-module -o %t/Test.swiftmodule -emit-module-interface-path %t/Test.swiftinterface -module-name Test -enable-experimental-concurrency %s
|
||||
// RUN: %FileCheck %s < %t/Test.swiftinterface
|
||||
// RUN: %target-swift-frontend -typecheck-module-from-interface -module-name Test %t/Test.swiftinterface
|
||||
// RUN: %target-swift-frontend -typecheck-module-from-interface -module-name Test %t/Test.swiftinterface
|
||||
|
||||
// RUN: %target-swift-frontend -emit-module -o /dev/null -merge-modules %t/Test.swiftmodule -disable-objc-attr-requires-foundation-module -emit-module-interface-path %t/TestFromModule.swiftinterface -module-name Test -enable-experimental-concurrency
|
||||
// RUN: %FileCheck %s < %t/TestFromModule.swiftinterface
|
||||
@@ -12,7 +12,9 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
// CHECK-LABEL: @objc @_inheritsConvenienceInitializers public actor SomeActor : ObjectiveC.NSObject {
|
||||
// CHECK-LABEL: @objc @_inheritsConvenienceInitializers
|
||||
// CHECK: public actor SomeActor : ObjectiveC.NSObject {
|
||||
// CHECK: @objc override public init()
|
||||
@available(macOS 12.0, iOS 15.0, watchOS 8.0, tvOS 15.0, *)
|
||||
public actor SomeActor: NSObject {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user