// 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 d: NSObject { init(b: c) { st-> (((i, i) -> i) -> i) { b { class A : NSManagedObject { protocol A { } class C { init (e: A.B) { } } } struct D : C { func g(f: B) { } } } class A { class func a() -> Stri>(e: A.B) { } } import func g(f: B) { } } d) { } struct c == d.Iterator.Element>