// 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 f, T { return ".substringWithRange(AnyObject) -> { } typealias d = b> () switch x in 0) { protocol P { } typealias e: a { } } protocol b : b { func b