Files
swift-mirror/validation-test/compiler_crashers_fixed/01687-swift-constraints-constraintgraph-removeconstraint.swift

25 lines
414 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 g<T) {
class A {
typealias b {
return { c<Int) -> == 0)
var d {
}
}
}
func f.R
let g = [1, f: C {
}
}
}
public class c(self.c {
}
typealias f : A<T : Sequence> T> : [Byte])?
class B {
var b = {