Files
swift-mirror/validation-test/compiler_crashers/2155-swift-optional-swift-diagnostic-operator.swift
Dmitri Hrybenko 6cad796ec8 Annotate compiler crasher tests so that the tests succeed reliably when
the compiler is built without assertions

Swift SVN r24061
2014-12-20 09:42:59 +00:00

16 lines
356 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 a<T? = i: P {
class A {
}
enum A {
}
struct Q<T: B(c : b = f: b[[1].advance(c: 1]
return ")
class B : A, v