Files
swift-mirror/validation-test/compiler_crashers_2/4546ece627bfc746.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
286 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::addFix(swift::constraints::ConstraintFix*)","signatureAssert":"Assertion failed: (inserted), function addFix"}
// RUN: not --crash %target-swift-frontend -typecheck %s
func a<b>(b) -> b a(["":0]) as [Int:String]