blob: 3b098f7d1b25931b5a73ca2db547c273422ebac5 [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
init(A.Element == A<T.Type) {
let end = { c<e)) {
protocol C {
}
print(x) { c
}
}
class B == [[B, a(g())
(m(t: B<T>(Any, ")
}
class C> : A? = { self.Element>? {
}([0x31] == b<d
for c {
}
}
}
protocol a {
protocol b {
() {
return self.A"a: H) ->())
}
func d.Iterator.Element>(Any, let end = ")
typealias h: d == c