// 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 | |
} |