Files
swift-mirror/test/stdlib/Concurrency.swift
2024-09-25 23:18:25 +02:00

17 lines
526 B
Swift

// RUN: %target-typecheck-verify-swift -print-diagnostic-groups
// REQUIRES: concurrency
// Make sure the import succeeds
import _Concurrency
// Make sure the type shows up (including under its old name, for
// short-term source compatibility)
@available(SwiftStdlib 5.1, *)
extension PartialAsyncTask {
// expected-warning@-1 {{'PartialAsyncTask' is deprecated: renamed to 'UnownedJob' [DeprecatedDeclaration]}}
// expected-note@-2 {{use 'UnownedJob' instead}}
}
@available(SwiftStdlib 5.1, *)
extension UnownedJob {
}