blob: 6eccbba60b5541e25688fb1d9e04ec75a2e11ec9 [file] [log] [blame]
// RUN: %target-swift-frontend -primary-file %s -emit-ir
protocol C {
associatedtype I
}
protocol PST {
associatedtype LT : C
}
protocol SL {
associatedtype S : PST
}
struct PEN<_S : PST> : SL {
typealias S = _S
let l: _S.LT.I
}
struct PE<N : SL> {
let n: N
static func c<S>(_: PE<N>) where N == PEN<S> {}
}