Files
swift-mirror/validation-test/compiler_crashers_fixed/01179-swift-declcontext-lookupqualified.swift

16 lines
396 B
Swift

// RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
class a<f : b, g : b where f.d == g> {
}
protocol b {
typealias d
}
struct c<h : b> : b {
typealias e = a<c<h>, d>
}
struct c<S: Sequence, T where Optional<T> == S.Iterator.Element