Skip to content

Commit 8dd006f

Browse files
committed
wip
1 parent b30f635 commit 8dd006f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
// RUN: %empty-directory(%t)
2+
// RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -target %target-swift-5.7-abi-triple %S/Inputs/FakeDistributedActorSystems.swift
3+
// RUN: %target-swift-frontend -typecheck -abi -module MyModule -verify -target %target-swift-5.7-abi-triple -I %t 2>&1 %s
4+
// REQUIRES: concurrency
5+
// REQUIRES: distributed
6+
7+
// Should NOT produce a warning, we do use the module in a public declaration, see MyPublicDistributedActor
8+
package import Distributed
9+
import FakeDistributedActorSystems
10+
11+
12+
package distributed actor MyPublicDistributedActor {
13+
package typealias ActorSystem = FakeActorSystem
14+
}

0 commit comments

Comments
 (0)