// 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 struct S : a { print() -> String { var b = true as Boolean)) { } } private class A { enum b { } var a { } protocol A { } func b(#object1, i : A { } func b { extension String { } typealias F>) -> () -> { } } } func b