mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
28 lines
416 B
Swift
28 lines
416 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
|
|
|
|
func a<T) {
|
|
func a<T
|
|
struct c : a {
|
|
func b(T.R
|
|
}
|
|
protocol a {
|
|
}
|
|
self.d = 0) {
|
|
func e: Array) -> Int = a: d {
|
|
protocol a {
|
|
}
|
|
protocol P {
|
|
}
|
|
() -> : l) -> {
|
|
class b: a {
|
|
}
|
|
}
|
|
case A? {
|
|
}
|
|
typealias e, c
|
|
}
|