Files
swift-mirror/validation-test/compiler_crashers_2/da315410694f4a15.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

8 lines
509 B
Swift

// {"kind":"typecheck","signature":"extendDepthMap(swift::Expr*, llvm::DenseMap<swift::Expr*, std::__1::pair<unsigned int, swift::Expr*>, llvm::DenseMapInfo<swift::Expr*, void>, llvm::detail::DenseMapPair<swift::Expr*, std::__1::pair<unsigned int, swift::Expr*>>>&)::RecordingTraversal::walkToExprPost(swift::Expr*)","signatureAssert":"Assertion failed: (Closures.back() == CE), function walkToExprPost"}
// RUN: not --crash %target-swift-frontend -typecheck %s
{
{
func a {
if
#_hasSymbol(