Files
swift-mirror/validation-test/compiler_crashers/0969-swift-diagnosticengine-flushactivediagnostic.swift
Dmitri Hrybenko bea947c53b Annotate compiler crasher tests that now hit assertions under
AddressSanitizer

This is an improvement, previously these tests used to trigger a trap in
AddressSanitizer.

Swift SVN r24919
2015-02-03 17:15:40 +00:00

55 lines
887 B
Swift

// RUN: not --crash %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
return ""a<T>) + seq: T>(n: d = F>()
class func a
extension Array {
}
func e()
typealias F = Int])
A>(Any) {
() -> Any in
typealias F>] = b<T -> () -> V>(b> {
class func f()
}
func a<c]()
func g() -> (#object1, Any)
func g: A, a
struct c == 0.C(Range(a")
class B {
import Foundation
public class d<T {
typealias e, g<T -> {
}
func call(t: B? {
protocol d where h, f(A, Any, k : B>) {
let a {
println(a(true {
}
println(Any, let v: [B
func d>(a)
func b(")
}
}
struct c<T where B : a {
class A : C {
protocol P {}
extension NSSet {
enum S<U -> {
return self.h : A, range.B
}
}
return true
func e: d where H) {
private class func a: SequenceType> {
}
}
}
}
}
}
retur