Files
swift-mirror/validation-test/compiler_crashers/2226-swift-modulefile-getdecl.swift
2015-02-17 05:04:20 +00:00

24 lines
447 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
func compose<() {eturn self.d.endIndex - range.init(e: 1
protocol c {
}
if c {
}
let d>) -> {
}
let d<U {
}
class func f(n: a {
func d>(.A"]() -> Void>()
func a(x> {
}
protocol a {
func a<I : a {
assert