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

5 lines
391 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::setCapturedExpansions(swift::AnyFunctionRef, llvm::SmallVector<swift::PackExpansionExpr*, 1u>)","signatureAssert":"Assertion failed: (CapturedExpansions.count(func) == 0 && \"Cannot reset captured expansions\"), function setCapturedExpansions"}
// RUN: not --crash %target-swift-frontend -typecheck %s
{
repeat a {