Files
swift-mirror/validation-test/compiler_crashers/1017-llvm-foldingset-swift-constraints-constraintlocator-nodeequals.swift
2015-01-28 19:27:16 +00:00

17 lines
354 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
var f1: Int -> Int = {
return $0
}
struct c<f : h> {
var b: [c<f>] {
g []e f() {
}
}
protocol c : b { func b