blob: 938526c4b6abf52367ce8d16c22b3eb86eb5fefb [file] [log] [blame]
public protocol Foreign {
func foreignMethod()
var foreignGet: Int { get }
var foreignGetSet: Int { get set }
}
public protocol ForeignInherit: Foreign {}
extension ForeignInherit {
public func foreignMethod() {}
public var foreignGet: Int { return 0 }
public var foreignGetSet: Int {
get { return 0 }
set {}
}
}
public struct ForeignStruct {}
public struct ForeignStructInherit {}
public struct ForeignStructInheritNoDefault {}
public struct ForeignStructOneExtension {}