mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Use the `%target-swift-5.1-abi-triple` substitution to compile the tests for deployment to the minimum OS versions required for use of _Concurrency APIs, instead of disabling availability checking.
8 lines
225 B
Swift
8 lines
225 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend %s -emit-module-path %t/module -emit-tbd -enable-testing -target %target-swift-5.1-abi-triple -tbd-install_name test
|
|
|
|
public actor Tom {
|
|
init() async {
|
|
}
|
|
}
|