| // 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 |
| |
| if true { |
| func b: SequenceType where d<T { |
| typealias b { |
| private class A, let t: C { |
| return { self.init(() |
| } |
| } |
| protocol b { |
| } |
| enum A : SequenceType, T where S.e : b: b = 0.Generator.c = { |
| var d : [c> (Range<h == { |
| protocol b : AnyObject, let c<T>(x, range: NSManagedObject { |
| } |
| } |
| } |
| typealias f : a { |
| } |
| protocol A { |
| }) |
| } |
| } |
| protocol A { |
| typealias d : c((true as String) |
| " |
| func c) |