Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0167-rdar39059582.swift

18 lines
222 B
Swift

// RUN: %target-swift-frontend %s -emit-ir
protocol X {
associatedtype R : Y
}
protocol Y {
associatedtype Q : X where Q.R == Self
}
struct B : Y {
typealias Q = L<B>
}
struct L<V : Y> : X {
typealias R = V
}