// 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 protocol A { } struct B : A { } struct C == S.Iterator.Element>(xs : S) -> T? { for (mx : T?) in xs { if let x = mx { return x } } return nil } let xs : [Int?] = [nil, 4, nil] print(some(xs)) protocol a : a { } protocol a { typealias d typealia typealias g } f: A where D.C == E> {s func c() { } } (b() as a).dynamicType.c() func c() -> A { typeal= D>(e: A.B) { } } var() -> ())] = [] }