Skip to content

Commit 573ad76

Browse files
committed
[Distributed] Add ModuleInterface test with generic distributed actor
1 parent b7ff16b commit 573ad76

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// RUN: %empty-directory(%t)
2+
// RUN: %target-swift-emit-module-interface(%t/Library.swiftinterface) %s -module-name Library
3+
// RUN: %target-swift-typecheck-module-from-interface(%t/Library.swiftinterface) -module-name Library
4+
// RUN: %FileCheck %s < %t/Library.swiftinterface
5+
6+
// REQUIRES: distributed
7+
8+
import Distributed
9+
10+
@available(SwiftStdlib 6.0, *)
11+
public distributed actor DAG<ActorSystem> where ActorSystem: DistributedActorSystem<any Codable> {
12+
}

0 commit comments

Comments
 (0)