Files
swift-mirror/validation-test/compiler_crashers_fixed/02011-swift-lexer-lexidentifier.swift

28 lines
433 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 c<T where B : A {
}
if c {
if true {
}
let n1: Array<S : A> Void>>(e> {
typealias f = [Int>) {
typealias f = B>) {
}
})
protocol a {
var b, (s: B, T : H.init(array: d = f(g
({
}
struct c {
}
}
enum S) {
}
}
func