// 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
class c {
deinit {
class B == j> Any) -> {
func a(true {
}
var e> {
f = {
extension NSSet {
}
}
class func g: String) {
}
class func a: A {
return {
}
let v: A {
}
}
class A, i : P {
}
protocol a {
typealias b where Optional<f == .b(n: Int>(.a(bytes: d = B(p: () -> (f, V, A: NSObject {
}(").C(f: e: b: 1
0] {
}
}
}
}
func a"\(e: 1))"ab""
