blob: cf5b3a1206edf1466263d21d74e8c34c8f2181ae [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
> T where h: String
class a: Bool]).Element>]
private class B : Hashable> V, U) -> T, object2).B
func f<T) {
func c: (f)
}
}
struct D : A {
}
struct c {
}
protocol A : a {
return $0.f = compose() {
}
func a<T