Files
swift-mirror/validation-test/compiler_crashers_fixed/00717-swift-diagnosticengine-diagnose.swift

27 lines
486 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
if true as a<f = { self.Type
typealias B>() -> {
super.B {
}
func c, T : P {
}
init <B {
extension String {
func x: NSManagedObject {
}
extension NSSet {
func i(A, Any)(")!(c) -> Any) -> U.Iterator.c == [c> () {
}
}
}
}
}
protocol c : Any, Any, A {
init()
typealias d: d