Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0110-sr4786.swift

14 lines
329 B
Swift

// RUN: not %target-swift-frontend %s -typecheck
public protocol _UTFEncoding {
associatedtype EncodedScalar where EncodedScalar == Int
}
public protocol UnicodeEncoding {
associatedtype EncodedScalar: BidirectionalCollection
}
public protocol _UTFParser {
associatedtype Encoding: UnicodeEncoding, _UTFEncoding
}