Files
swift-mirror/validation-test/compiler_crashers_fixed/01705-vtable.swift
practicalswift c4866885c8 Rename old crash cases to match the current naming scheme.
Will allow for easy import of crash cases from swift-compiler-crashes.
2015-12-10 16:50:15 +01:00

36 lines
666 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
func f<h = T: $0.endIndex - range.B {
struct D : P {
var b where Optional<d = nil
typealias F = b: Array<b(c) + seq: d = { c<T : B<D>(.f == A<T : C> {
b(a("""""A
protocol c {
import Foundation
t: Array<T.a<T>) -> S {
}
override init<U : A = a<b
typealias B : Int {
return { }
func x) {
}
var d : X.Type
class a {
}
}
typealias F = .Element>() {
zzzz(seq: A) -> {
}
let v: B, B
}
enum S()(start, ()
}
let c = e: 1])
func b
func d<h : A.d
class A<l : d