// 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 extension NSSet { enum b { struct S : NSManagedObject { var b : b(T> { } struct D : S) { typealias B { protocol B { } convenience init(Any) -> { protocol b { class a: P> Any, x } } } } } } import CoreData protocol b = e: d where Optional == a(c(2, Any) var e> Any) -> [Byte]() let foo as [c] = i((self. ("[1, object2)(c>(m: 1, U.Iterator.A: T>, a() -> U) -> { enum A { class a