Files
swift-mirror/validation-test/compiler_crashers/diagnoseArgumentLabelError-579b1d.swift
Hamish Knight 4e811c3a88 [test] Merge crasher directories
There is no longer much of a good reason to keep these separate,
merge them.
2025-10-18 12:51:30 +01:00

5 lines
479 B
Swift

// {"kind":"typecheck","signature":"swift::diagnoseArgumentLabelError(swift::ASTContext&, swift::ArgumentList const*, llvm::ArrayRef<swift::Identifier>, swift::ParameterContext, swift::InFlightDiagnostic*)","signatureAssert":"Assertion failed: ((numMissing + numExtra + numWrong > 0) && \"Should not call this function with nothing to diagnose\"), function diagnoseArgumentLabelError"}
// RUN: not --crash %target-swift-frontend -typecheck %s
func a<b>((), c : ()->b) a {}
c : {