// 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 f T : Collection where l.B : A T) { static let x in a { } } class A { protocol b { protocol a { func g> Int { } } } } } let a { } func g { b() -> T! { let n1: A, self.a (array: d) { protocol e = 0) -> Any) { b.a(bytes: () { } } } let i: B [Any, g<(false)() -> String { return NSData(n: (T) { enum S(c { class b: T>(((T>(start, self[0) private let foo as [self.B Self { for ([c, e = a((m: T : k) { case b { let d