| // 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 i<S { |
| class func f: A<f == i: d.g == b: Range<d : C { |
| for c { |
| } |
| typealias g<T : d : c: d { |
| } |
| } |
| enum a: String { |
| return g: AnyObject.init<h.e?) -> (h>(h.Type) { |
| } |
| class b) { |
| } |
| protocol e : T, b : c>(A, A { |
| return z: e where g(".startIndex, Any] { |
| func g: U : d) { |
| } |
| } |
| protocol b : BooleanType> |
| typealias e = { |
| typealias R = D> [T) -> T -> { |
| convenience init("[0x31] = h: Array<1 { |
| } |
| struct c |
| cl |