// RUN: not --crash %target-swift-frontend %s -parse // XFAIL: no_asserts // Distributed under the terms of the MIT license // Test case submitted to project by https://github.com/practicalswift (practicalswift) // Test case found by fuzzing func compose { return d : Array Int -> Self { protocol d = { } return g { let h: C) { } } } func call() { } } protocol a = c: String { self.b in x } var f : e: c: Array { } } protocol P { } func f: C { } return b) { } } return ""A>(x: d { let a { } private let t: B? = F>: A { } } private let t: AnyObject) { struct d.e == { typealias h: AnyObject.b { } func g T : d { typealias E }