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

7 lines
456 B
Swift

// {"kind":"typecheck","original":"2ce52aa0","signature":"swift::constraints::ConstraintSystem::recordOpenedType(swift::constraints::ConstraintLocator*, llvm::ArrayRef<std::__1::pair<swift::GenericTypeParamType*, swift::TypeVariableType*>>, swift::constraints::PreparedOverloadBuilder*)","signatureAssert":"Assertion failed: (inserted), function recordOpenedType"}
// RUN: not --crash %target-swift-frontend -typecheck %s
{
switch
0 {
case .a( ... b