diff --git a/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift b/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift new file mode 100644 index 0000000000000..acb21705e8383 --- /dev/null +++ b/validation-test/compiler_crashers/28217-swift-diagnosticengine-emitdiagnostic.swift @@ -0,0 +1,8 @@ +// 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 + +var b{enum b:String{case=nil