// RUN: %target-swift-frontend -emit-ir -g -primary-file %s // https://github.com/apple/swift/issues/56409 public struct PowerCollection : Collection { public typealias Index = [C.Index] public typealias Element = [C.Element] public var startIndex, endIndex: Index public subscript(position: Index) -> [C.Element] { return [] } public func index(after i: Index) -> Index { return i } } extension Array : Comparable where Element : Comparable { public static func < (lhs: [Element], rhs: [Element]) -> Bool { return false } }