// 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 j { func a() -> [j] { return [] l j l.n = { } { l) { n } } protocol f { } class l: f{ class func n {} func a() { b b { } } class a { } protocol b { } struct j : b { protocol p{ } protocol g : e { func e