| // 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 |
| import Foundation |
| extension NSData { |
| var d = c |
| let c(n: d { |
| override init(a(self)] == a") |
| func i> : a: k.C) -> { |
| public class A<H : Sequence where T>() { |
| } |
| } |
| protocol A { |
| } |
| protocol a { |
| typealias A : A, T : d where T : (c: e = Swift.f = B |
| func f<f = .Element>(2, ((x(")() -> T: AnyObject> Any in |
| func b, le |