Files
swift-mirror/validation-test/compiler_crashers/2038-llvm-bitstreamcursor-readvbr.swift
2015-01-28 19:27:16 +00:00

20 lines
426 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
protocol d : a {
protocol a {
protocol a {
}
func c: [B
protocol b = {
}
}
protocol b {
}() -> {
return !.substringWithRange(T>(".A: k.init(f.startIndex)(2, T>) {
class B<b: b: c]()