Files
swift-mirror/validation-test/compiler_crashers_fixed/00917-swift-lexer-leximpl.swift

35 lines
630 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
init() {
() -> String {
self.c> Self {
}
func g<d where T! {
let t: [c) {
}
func b(array: Collection where T> U -> {
func d<T where B {
b) {
var d where B : C<Int) { x = a<d where A> ((false)) {
func g<d where T> () {
print() {
typealias d.c(self.d = c<T>((1]
c>(e: S) {
return [T {
func f(x, A, y: Any) {
protocol B {
}
}
b("cd"")
}
}
}
protocol A {
typealias B : b {
func a(Any) -> T where S("
typealias b = a"""