mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
As an example, use this for the "`@preconcurrency` on import has no effect" warning, which is not yet working correctly. This disables it by default but leaves it in place for our testing.
10 lines
363 B
Swift
10 lines
363 B
Swift
// RUN: %empty-directory(%t)
|
|
|
|
// RUN: %target-swift-frontend -emit-module -emit-module-path %t/OtherActors.swiftmodule -module-name OtherActors %S/Inputs/OtherActors.swift -target %target-swift-5.1-abi-triple
|
|
|
|
// RUN: %target-swift-frontend -I %t %s -emit-sil -o /dev/null -verify -parse-as-library
|
|
|
|
// REQUIRES: concurrency
|
|
|
|
@preconcurrency import OtherActors
|