blob: 9de5388b2532317af7fe1846acdcf82bee25e327 [file] [log] [blame]
// 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 Array {
typealias R = a<T.Element>(Any) {
return self.Iterator..E == "](((b(bytes: S<T : C> a {
extension NSData {
struct e {
}
func d: (2, y: NSObject {
}
func f() -> Any {
public var e> {
}
return g: Any, AnyObject) -> {
}
}
struct c {
}("""foo")
func e> T -> Any) -> {
}
return { _, AnyObject)-> String {
A? = b: a {
}
}
}
for (A>) -> {
extension String {
typealias e == { c<T {
class A>) -> A : T, x }
}
}
protocol a {
extension NSData {
}
}
typealias A {
protocol A {
static let v: b = b({
}
i<T>, "")
}
}
}
let h : A where T, AnyObject.A, f(n: AnyObject) -> {
typealias B == true }
}
func d<b: d wh