blob: ea024ff3e99a1abd69d25426274905d5c2fa8e02 [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
protocol A : A, b {
(h: a {
typealias b : b: a {
}
let f : a {
func g() -> T? = e(b(Any) {
class d(Any, A {
}
0))
}
func b.<j : e?) ->(.E == e> Any, U) {
}
}
}
var d where k) -> <d.B : Collection where f: A) as String
var a: Array<d>Bool]()
typealias d.co