blob: 43a8f7480f2af4dab425cfbb4d253e14b376fedf [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 a<T>() {f {
}
func f() {
return {
}
return z({
}
g) {
func b((Any, c))(a: (Any, AnyObject)) {
if let x = mx {
}
retet x = mx {
}
}
}
func i<l : d where l.f == c> (n: l) {
}
protocol c : b { func b