mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
39 lines
551 B
Swift
39 lines
551 B
Swift
// 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
|
|
|
|
protocol C {
|
|
deinit {
|
|
struct e == { x in a {
|
|
return [unowned self.e {
|
|
class A {
|
|
func compose<U : e where A? = B<C> {
|
|
override init(b.init() -> {
|
|
var f: B) {
|
|
}
|
|
}
|
|
}
|
|
let t: C {
|
|
typealias R = { c: String = {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
protocol P {
|
|
}
|
|
}
|
|
static let i: NSObject {
|
|
}
|
|
}
|
|
e : U : H) -> {
|
|
}
|
|
typealias e = compose<T! {
|
|
}
|
|
let a {
|
|
}
|
|
}
|
|
typealias e : e,
|