// RUN: not --crash %target-swift-frontend %s -parse // XFAIL: asan // 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 A { func a { } for b { } struct Q() -> Any { struct S { func i String { typealias b { func f. { } } } } } d: d where Optional Void>(() { func e: [unowned self.d(f(AnyObject> { } } protocol b { } private class b: T> T> { var f: U.e = { _, g = B) protocol P { import Foundation } }