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

9 lines
359 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::diagnoseAmbiguityWithFixes(llvm::SmallVectorImpl<swift::constraints::Solution>&)","signatureAssert":"Assertion failed: (fn), function diagnoseAmbiguity"}
// RUN: not --crash %target-swift-frontend -typecheck %s
struct a {
lazy b : Int -> Int = {
b(0.0
1
}
b : Int -> Int