forked from swiftlang/swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdistributed.swift
19 lines (15 loc) · 1.11 KB
/
distributed.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// RUN: %empty-directory(%t)
// RUN: %empty-directory(%t-scratch)
// RUN: echo "---- STEP 1 ---------------------------------------------------"
// RUN: %target-swift-frontend -emit-module -o %t-scratch/def_distributed~partial.swiftmodule -primary-file %S/Inputs/def_distributed.swift -module-name def_distributed -disable-availability-checking -enable-experimental-distributed
// RUN: echo "---- STEP 2 ---------------------------------------------------"
// RUN: %target-swift-frontend -merge-modules -emit-module -parse-as-library -enable-testing %t-scratch/def_distributed~partial.swiftmodule -module-name def_distributed -o %t/def_distributed.swiftmodule -disable-availability-checking -enable-experimental-distributed
// RUN: echo "---- STEP 3 ---------------------------------------------------"
// RUN: %target-swift-frontend -typecheck -I%t -verify %s -verify-ignore-unknown -disable-availability-checking -enable-experimental-distributed
// REQUIRES: concurrency
// REQUIRES: distributed
import _Distributed
import def_distributed
func testDoSomethingDistributed(system: FakeActorSystem) {
let _: DA = DA(system: system)
}