Files
swift-mirror/validation-test/compiler_crashers/1694-void.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

32 lines
538 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
enum S<e<T -> : d {
func a(f: C = B, length: (A.Generator.c] == [self, Any) -> : Array) as String)
typealias R = "
class a {
func i: S) -> Bool {
}
}
protocol C {
struct c : NSObject {
extension Array {
}
}
typealias h: a {
protocol a {
}
public var d {
let c : C = B) {
}
}
}
enum b {
}
class A? {
}
func b(c<T.in