Files
swift-mirror/test/multifile/protocol-conformance-objc.swift
Slava Pestov 42901546fb Sema: Add multi-file test case for @objc conformance checking
Make sure we test checkObjCWitnessSelector() in the multi-file
case.

I made some changes that regressed a source compatibility project
but the regression was not caught by our test suite, so make sure
we have a test for this now.
2019-08-02 19:34:43 -04:00

13 lines
264 B
Swift

// RUN: %target-swift-frontend -sdk %sdk -emit-ir -primary-file %s %S/Inputs/protocol-conformance-objc-other.swift -module-name test
// REQUIRES: objc_interop
import Foundation
@objc protocol Horse {
var hindEnd: Int { get set }
}
extension Pony : Horse {}