Files
swift-mirror/validation-test/compiler_crashers_2_fixed/0191-sr9508.swift
Slava Pestov 0f53290cb2 Add regression test for fixed bugs
<rdar://problem/39826863>, and <https://bugs.swift.org/browse/SR-9508>.
2019-04-02 19:00:01 -04:00

21 lines
247 B
Swift

// RUN: %target-swift-frontend -typecheck %s
protocol P {
associatedtype A
}
struct S1: P {
typealias A = Int
}
struct S2<G: P>: P {
typealias A = G.A
}
struct S3<G: P> {
}
extension S3 where G == S2<S1> {
typealias B = G.A
}