mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
39 lines
634 B
Swift
39 lines
634 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
|
|
|
|
let a {
|
|
protocol a {
|
|
}
|
|
class func c: a {
|
|
func o<T.C<A, b : Any) -> == r: e {
|
|
class B : c) {
|
|
}
|
|
struct c {
|
|
func f<T ->>] = i<T> {
|
|
class c where d, V, k, AnyObject, b where T.f : P {
|
|
}
|
|
class B =ay) {
|
|
}
|
|
func d() -> : C> Int -> T>() {
|
|
class A: a {
|
|
struct S()) {
|
|
}
|
|
protocol c = { class B == F>) -> Int {
|
|
func c(")) {
|
|
class func x: a {
|
|
}
|
|
}
|
|
}
|
|
})-> i(Any) {
|
|
class A<U {
|
|
}
|
|
}
|
|
}
|
|
class c {
|
|
struct }
|
|
protocol c {
|
|
typealias f : f() {
|