// RUN: not %target-swift-frontend -typecheck -primary-file %s // https://github.com/apple/swift/issues/47320 public struct _UIntBuffer { var _storage: Storage var _bitCount: UInt8 } protocol _UTFDecoder { associatedtype BufferStorage associatedtype CodeUnit var buffer: _UIntBuffer { get set } } public struct ReverseDecoder : _UTFDecoder { public typealias Buffer = _UIntBuffer public var buffer = Buffer() public init() {} }