Files
swift-mirror/validation-test/compiler_crashers/1694-void.swift
2015-02-17 05:04:20 +00:00

33 lines
559 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
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