blob: 22ddb96c0ff287c1ddf4f081c999c0b5462ec5b9 [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
func j<f: l: e -> e = {
{
l) {
m }
}
protocol k {
class func j()
}
class e: k{ class func j
func g<h>() -> (h, h -> h) -> h {
}
protocol f {
protocol c : b { func b
class x<u>: where T.E == F>}
class A {
class func a() -> Self {
}
}
func b<T>(t: AnyObject.Type) }
protocol e {
}
enum S<T> : P {
func f<T>() -> T col f : b { func b
struct d<f : e, g: e where g.h ==ay) {
}
}
extension NSSet {
convenience init<T>(array: Array<T>) {
}
}
class A {
struct d