mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
454 B
Swift
12 lines
454 B
Swift
// RUN: %target-typecheck-verify-swift -disable-availability-checking
|
|
// REQUIRES: concurrency
|
|
// REQUIRES: distributed
|
|
|
|
actor SomeActor { }
|
|
|
|
distributed actor MissingImportDistributedActor_0 { }
|
|
// expected-error@-1{{distributed actor 'MissingImportDistributedActor_0' declared without importing module 'Distributed'}}{{5:1-1=import Distributed\n}}
|
|
|
|
let t: DistributedActorSystem // expected-error{{cannot find type 'DistributedActorSystem' in scope}}
|
|
|