Files
swift-mirror/validation-test/IDE/crashers/4c8b451fbe19cd6.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
457 B
Swift

// {"kind":"complete","signature":"(anonymous namespace)::PreCheckTarget::walkToExprPre(swift::Expr*)","signatureAssert":"Assertion failed: ((closure->getParent() == DC || closure->getParent()->isChildContextOf(DC)) && \"Decl context isn't correct\"), function walkToClosureExprPre"}
// RUN: not --crash %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
macro a = { #^COMPLETE^#