mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
31 lines
494 B
Swift
31 lines
494 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
|
|
|
|
import Foundation
|
|
func a<I : X.E == 0.C(T) -> {
|
|
typealias C {
|
|
enum b = g: Array) -> : Any, A {
|
|
}
|
|
}
|
|
protocol d {
|
|
typealias F>()() {
|
|
}
|
|
protocol b = true }
|
|
self] {
|
|
}
|
|
class A {
|
|
protocol b {
|
|
}
|
|
}
|
|
typealias e where H) -> V>(a()
|
|
}("
|
|
func g(b
|
|
let t: T where l) -> {
|
|
extension A {
|
|
}
|
|
}
|
|
A()
|