// 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 typealias e : d where h: AnyObject protocol A { enum S { class A { let f = c{ class a { } extension String { class b protocol c {() -> { struct B { func c struct Q(a} if true { } typealias e : b: a { struct X {struct B { let t: A { let a { func j { } } class a { { } class A { protocol A { class A} let f = [Void for ( )"[1)"[Void{ protocol c typealias e : T:A class a { class A : Int -> { let t: Boolean, A { enum S