mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
13 lines
264 B
Swift
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 {}
|
|
|