blob: 0ffa10ee28b82dfec3b4cd350958faecb21a16c8 [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
protocol A {
extension String {
}
typealias e: e()
}
func a: S) {
return S.C() -> : C {
typealias g<T, V, Any, x in a {
typealias e = A) {
}
class A? = e: A? {
}
return { c() {
}
}
}
case .Iterator.substringWithRange(b(x) {
b() -> == b(T) {
}
class a {
}
}
func c, a<A> () {
d: T? {
func b> {
}
typealias b : Sequence, AnyObject> {
}
}
class A {
}
let g = .E == c
}