Files
swift-mirror/validation-test/compiler_crashers_fixed/01507-swift-constraints-matchcallarguments.swift

41 lines
720 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
extension NSSet {
enum b {
struct S : NSManagedObject {
var b : b(T> {
}
struct D : S<T)
}
struct Q<T.e {
}
let h, Any, a<I : T>) {
typealias B {
protocol B {
}
convenience init(Any) -> {
protocol b {
class a: P> Any, x }
}
}
}
}
}
import CoreData
protocol b = e: d where Optional<T> == a(c(2, Any)
var e> Any) -> [Byte]()
let foo as [c] = i((self.<h : d = b() -> ("[1, object2)(c<T>>(m: 1, U.Iterator.A: T>, a() -> U) -> {
enum A {
class a<T {
protocol a : a {
extension NSSet {
protocol b {
}
}
func a