blob: 24a278d7a17078aee096f0e4e2207fafe2056fe9 [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
pe>(c>(Any, c: AnyObject) -> T! {
}
typealias B
}
let t: d = {
case s(f)
}
class B : () {
return """"A, object2)
return [c<T> (b) -> {
return nil
self))
protocol b in x }
let b {
}
let v: Int = c, object2)
print() -> {
}
func b<d, object2: k) {
return nil
}
}
}
}
func a)
convenience init(mx : (true }
assert()
for (start, 3] {
return self.h: (()
var a<c<U {
typealias e : b = {
extension A {
func a
}
let start = A.c>)
typealias d()
(AnyObject.a() { x }
case c: A {
typealias e where T>(Any, object2)
protocol P {
return { _, length: Any, e: Hashable> {
protocol a {
typealias e = i: e: NSManagedObject {
}
class func g> U.f = compose("]
var b> : A, q:
}
protocol A {
typealias e : d where T : b> {
var b in return self.d<T: e: String {
import Foundation
convenience init(t: b: Int {
protocol b {
enum a: (b> T) -> {}
init(A<T> T {
print(Any) -> Int = ")
protocol d : a {
b(")
}
class b() {
init <T : () -> S<Y> T>?) {}
}
enum a
func a(a()
p