blob: 3d0a006f49f32c05de2aaeece1f0e48a886eac0c [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 g<T where B {
print(T>] = D>] = {
func a(A.e: b["
protocol d {
default:Any) -> T>(()
typealias e : X.b: AnyObject)(e())
}
extension NSSet {
}
class A : T) {
class A<T, AnyObject, U) -> {
func a(range: A {
enum S<Y> {
}
}
}
return b: T.endIndex - range.E == b> {
}
}
class A : b
class b: