// 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 func b: I.e { class A { func f.A> (x) { } class A? { } } typealias A : start, U) -> String) { let a { protocol A { func g { var b { class A>(() { var b: b(""") } typealias b = Int) -> V { func a(f { i> Any, """"" } func b() { return { protocol b { let c = b, x in x } case .h : T> { } func g> ()).init(g { } let d S : T> Int -> { return { _, let h : Boolean>() { } } } } } convenience init(x) { func d T>? { } } } } } protocol b { init S { var a Any { } } } typealias d : b: b) { case c]() -> { } } func b>