blob: b7d2247d88d4a0108ccc4c946cb42c127cf5591e [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
struct S<H : Int {
protocol a {
if c : A : SequenceType> () {
print("").C> {
enum B {
}
for c where A> {
convenience init() {
extension Array {
}
}
protocol d {
}
}
}
}
typealias e : e: String
extension String {
}
typealias B>(c()
func g, "
}
if c {
}
func compose() {
func f<T> ()] {
}
}
let end = a
protoco