Files
swift-mirror/validation-test/compiler_crashers/1125-no-stacktrace.swift
2015-01-28 19:27:16 +00:00

41 lines
579 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
func e<l {
enum e {
func p() { p
func o<t>() -> (t, t -> t) -> t {
j j j.o = {
}
{
t) {
h }
}
protocol o {
}
class j: o{ class func o {}
e o<j : u> {
}
func n<q>() {
b b {
}
}
func n(j: Any, t: Any) -> (((Any, Any) -> Any) -> Any) {
k {
}
}
}
s}
() {
}
}
func e(i: d) -> <f>(() -> f)>
protocol d {
f e: d {
}
protocol g : e { func e