blob: 4774499d08b6e3ecd7b73fd857dfa6392999cfb4 [file] [log] [blame]
// RUN: not %target-swift-frontend %s -parse
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
{
return x in c {
() { c<T.a<T : T : b
class c == D> {
let t: T> {
return { c(n: AnyObject) {
}
}
protocol b = F>() {
}(b.init(a
enum B {
typealias R = B, g = i> {
}
}
let v: P {
}
protocol A : NSObject {
}
public var f = d>(n: T> {
}
}
S() -> () -> {
protocol C = {
class func c<S : SequenceType, k : T : A<Y> (true }
}
self.h : C {
import Foundation
}
}
}
}
}
protocol A {
let c: d {
}
func f(f, let foo as BooleanType))-> U -> {
print("[1
typealias A : A {