Files
swift-mirror/validation-test/compiler_crashers/1125-no-stacktrace.swift
Chris Willmore 513b05c283 compiler_crashers: Use %target-swift-frontend instead of %swift -sdk %sdk
This fixes compiler_crashers tests that use the ObjC interface on
iOS hardware SDKs.

Swift SVN r23458
2014-11-20 00:32:59 +00:00

40 lines
558 B
Swift

// RUN: not --crash %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 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