// 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 func j e = { { l) { m } } protocol k { class func j() } class e: k{ class func j } class i { func d((h: (Any, AnyObject)) { } } func d() -> (i, i -> i) -> i { i j i.f = { } protocol d { } class i: d{ class func f {} enum A : String { } struct d { } } extension d) { } func a() { c a(b: Int = 0) { } func m() -> (u, u -> u) -> u { p o p.s = { } { o.m == o> (m: o) { } st.C == E> {s func c() { } } } st> { } func prefix(with: Strin-> (() -> r) -> h { n { u o "\(v): \(u()" }