Files
swift-mirror/validation-test/compiler_crashers/1122-swift-constraints-constraintsystem-solve.swift
2015-01-28 19:27:16 +00:00

32 lines
504 B
Swift

// RUN: not --crash %target-swift-frontend %s -parse
// XFAIL: no_asserts
// Distributed under the terms of the MIT license
// Test case submitted to project by https://github.com/practicalswift (practicalswift)
// Test case found by fuzzing
struct j<l : o> {
func a<l>() -> [j<l>] {
return []
l j l.n = {
}
{
l) {
n }
}
protocol f {
}
class l: f{ class func n {}
func a<i>() {
b b {
}
}
class a<f : b, l : b m f.l == l> {
}
protocol b {
}
struct j<n : b> : b {
protocol p{
}
protocol g : e { func e