Files
swift-mirror/validation-test/compiler_crashers_fixed/00961-bool.swift

40 lines
581 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
protocol A {
extension String {
}
typealias e: e()
}
func a: S) {
return S.C() -> : C {
typealias g<T, V, Any, x in a {
typealias e = A) {
}
class A? = e: A? {
}
return { c() {
}
}
}
case .Iterator.substringWithRange(b(x) {
b() -> == b(T) {
}
class a {
}
}
func c, a<A> () {
d: T? {
func b> {
}
typealias b : Sequence, AnyObject> {
}
}
class A {
}
let g = .E == c
}