blob: 40a6ff392a47b642986e3c7aba860e48f9319bd9 [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
ide func f<Int](b, Any, AnyObject.c<b(A, c() -> {
}))) {
init<d) -> T, Any) -> (array: a<T where h, b where I) -> : A, g<j : $0] = {
}
let h : b: Int) { c] = .b("""")
}
class A {
protocol A {
}
private let v: b : C(a()
typealias b : I) -> String)
typealias d<d {
class A {
}
}
func i()
let b = f.d = {
}(i<d<T)