Files
swift-mirror/validation-test/IDE/crashers/c9107b491555f468.swift
Hamish Knight 760959f273 [test] Add assertion messages to crasher test cases
If the crasher hits an assertion failure, include the message in the
header.
2025-08-04 13:00:23 +01:00

4 lines
523 B
Swift

// {"kind":"complete","signature":"parseGuardedPattern(swift::Parser&, (anonymous namespace)::GuardedPattern&, swift::ParserStatus&, llvm::SmallVectorImpl<swift::VarDecl*>&, (anonymous namespace)::GuardedPatternContext, bool)","signatureAssert":"Assertion failed: (!InEnumElementRawValue), function completeCaseStmtBeginning"}
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
case = switch { case #^COMPLETE^#<#expression#>