blob: bf5c2dcd4c806abc48d28f8d1b1423b59c517128 [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
}
}
}
var d : P {
for c == [[T>)
struct d: e? = b: (z: String {
}
struct Q<B : 1]() -> (true }
}
}
}
b.h: a : Any, U) -> Any)
class A : AnyObject.count][1]](A
}
case .c : A> U) -> {
protocol c {
typealias A {
}
case C) {
func b, V>(true {
}
struct c<U) -> {
}
func a: A>? {
}
class A
typealias d
typealias f = {
var f = {
extension NSSet {
func f(A.E == i<T -> ([0.C<S {
enum A = [c<T> <S {
func c(c: U, B() -> {
init(A<c) -> (false)
init() { c: X.f = i<T where k.startIndex)!.e: a {
private class A {
let g = F
}
self, V, A {
func e: T, self.d where H.advance(_ = b: String {
class B = h: T>) {
}
}
protocol b {
init(")
typealias A {
e : A<T.d>: B<f == c) {
protocol d = c> {
}
}
() -> {
enum S<T] as Boolean, Any) {
class A<T where l..init(_ = b()
struct e where T> : end)
}
}
}
}
var e, g: b = Int) {
return NSData()
}
func b
func a""\() {
protocol c == "ab"
}
func a<T>()
init(T, x }
init <S : Boolean)
func g<U : Bool) {
enum a: NSObject {
func d: A where f, Any, y: [B, (A.Iterator.C(seq: AnyObject)
}
0] = ")
func i: A"].init()
typealias e = g("""))
i<T>(object1, e
class B == b("ab"""\(n: C<T where T: d = c() -> Any) ->)
func b.init()
class func c: c<f = { c, b =