blob: df1b8b347016a10fe8cf2a0426a4f148b35298f0 [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
public class A<l : A, d>: a {
class A {
}
func f.Type) {
protocol b {
protocol e == B<T : () {
class func f: Array<T, U) -> {
}
typealias h: C = g, x }
}
}
func a(Any) {
typealias f = {
protocol b {
func b.init() -> () -> {
}
}
}
}
class B : Sequence, q:Any, i : NSObject {
i(s: d = ")(n: ExtensibleCollectionType>(s: d = nil
}
class b<T) {
}
extension A {