// This source file is part of the Swift.org open source project // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/LICENSE.txt for license information // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors // RUN: not %target-swift-frontend %s -typecheck { let a { { { {{ {{{ typea { }typealias e:A : A{{{ }} { case, { {{ func c{{struct B? = Int } var:a{ class A class C:a{ }}typealias e{ { ^ let i} { {{ { { }}}}}}}}}}} " struct A {{ {e a{ { {struct Q{ { {{ {{struct B : C{ { {{{ typea } var b{ {{ {{ typea {{{{{ func c{ var d{ let a {ypealias F=i} { {{ protocol A c{ { enum S{ let h:A : A {{g=1 func c{func a{A:{ ( " { {{ }}}} { {() ->{ class a { { { class A { {-> Bool {{ func crash{ { {{struct A Bool { protocol A { typealias e{{ { class A class a {let h=i}}class a {let:a{ struct A Bool {ypealias F=c:d{{class A{class { let h:A{ var b{{{ func a{let c{{ {let() ->:a{ class A{ typealias B }}}class a {{let h:a{{{ { typealias d {