Files
swift-mirror/test/Concurrency/sendable_obc_protocol.swift
Doug Gregor 8092a28eaa An @objc protocol can inherit from a marker protocol
... because marker protocols have no witness tables.

Fixes rdar://91011153.
2022-03-31 11:34:10 -07:00

8 lines
204 B
Swift

// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck %s -verify -parse-as-library
// REQUIRES: objc_interop
// REQUIRES: concurrency
import Foundation
@objc protocol P: Sendable { }