// RUN: %target-swift-frontend -emit-ir %s public protocol P {} public protocol Q { associatedtype A: P } public func f(_: T) {} public func foo1(t: repeat each T, u: repeat each U) where repeat (each U) == (each T).A { repeat f(each u) } public func foo2(t: repeat each T, u: repeat (each T).A) { repeat f(each u) }