Files
swift-mirror/validation-test/compiler_crashers_fixed/01534-bool.swift

50 lines
667 B
Swift

// RUN: not %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
class a<U) {
b: b: a {
init <f = Swift.Element == true }
protocol C = g<D>() {
let x }
return { x {
}
}
self.endIndex - range.Iterator.init() {
struct c = Swift.c : Any) -> {
func g(a<T.B>(T)) {
func i: A, U) {
func b() {
class a {
}
func a<1 {
}
e where B : T>() {
class a {
}
}
}
}
}
struct c {
}
class a<d: b: k) {
}
var b<T> {
}
func f<T : U : X<d = i<T {
}
class B {
typealias d>, d>() {
}
}
}
deinit {
struct A : NSObject {
}
}
var b(c() -> Int