blob: 71bd69eaca9bf636a1d12dfe3056b867f8bc6c61 [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
func f<T) {
class A {
class A {
class A {
let n1: c<B : d {
}
convenience init(()) {
typealias b {
}
struct c(self)) in c == j> {
enum S<T, c, self.f == 0] as String) {
init <c, AnyObject) {
}
}
protocol c {
}
enum A {
}
}
}
class func f):
class B : a {
typealias f = A> Any, Any, x }
}
class a()
p