blob: 9d807df8f6f8b0f6279d9e266a2809a9c7ea2c85 [file] [log] [blame]
// This source file is part of the Swift.org open source project
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
// RUN: not %target-swift-frontend %s -parse
func c<e>() -> (e, e -> e) -> e {
f b f.f =c {
}
class f: c{ class func f {}
struct f<c : f,f where e.c == c.c
var e: Int -> Int = {
}
let d: Int = { c, b in
}(f, e)