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

12 lines
431 B
Swift

// {"kind":"typecheck","original":"cf72a9cd","signature":"swift::constraints::ConstraintSystem::recordResolvedOverload(swift::constraints::ConstraintLocator*, swift::constraints::SelectedOverload)","signatureAssert":"Assertion failed: (inserted), function recordResolvedOverload"}
// RUN: not --crash %target-swift-frontend -typecheck %s
struct a {
func b(c: a) {
{
switch c {
case .baz(c==):
}
}
}
}