mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
cbc0ec3b88
These are tests that fail in the next commit without this flag. This does not add -verify-ignore-unrelated to all tests with -verify, only the ones that would fail without it. This is NFC since this flag is currently a no-op.
16 lines
802 B
Swift
16 lines
802 B
Swift
// RUN: %empty-directory(%t)
|
|
// 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
|
|
// RUN: %target-typecheck-verify-swift -verify-ignore-unrelated -target %target-swift-5.7-abi-triple -I %t
|
|
// REQUIRES: concurrency
|
|
// REQUIRES: distributed
|
|
|
|
import Distributed
|
|
import FakeDistributedActorSystems
|
|
|
|
typealias DefaultDistributedActorSystem = FakeActorSystem
|
|
|
|
distributed actor DA: Comparable {}
|
|
// expected-error@-1 {{type 'DA' does not conform to protocol 'Comparable'}}
|
|
// expected-note@-2 {{automatic synthesis of 'Comparable' is not supported for distributed actor declarations}}
|
|
// expected-note@-3 {{add stubs for conformance}}
|