// 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 class a() { let x } return { x { } } self.endIndex - range.Generator.init() { struct c = Swift.c : Any) -> { func g(a(T)) { func i: A, U) { func b() { class a { } func a<1 { } e where B : T>() { class a { } } } } } struct c { } class a { } func f, d>() { } } } deinit { struct A : NSObject { } } var b(c() -> Int