Files
swift-mirror/validation-test/compiler_crashers/2011-swift-lexer-lexidentifier.swift
Jordan Rose 2cd2d9ceb2 [test] Remove XFAIL lines from still-crashing compiler_crashers.
This is handled by the directory's lit.local.cfg.

Swift SVN r29238
2015-06-02 17:45:20 +00:00

29 lines
462 B
Swift

// RUN: not --crash %target-swift-frontend %s -parse
// REQUIRES: 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
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