Files
swift-mirror/validation-test/compiler_crashers_2/f954ff86c7921441.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
474 B
Swift

// {"kind":"typecheck","original":"34ac8b6c","signature":"swift::constraints::Constraint::Constraint(swift::FunctionType*, swift::Type, unsigned int, swift::DeclContext*, swift::constraints::ConstraintLocator*, llvm::SmallPtrSetImpl<swift::TypeVariableType*>&)","signatureAssert":"Assertion failed: (isAdmissibleType(appliedFn)), function Constraint"}
// RUN: not --crash %target-swift-frontend -typecheck %s
class a < b > {
func
c < let b : a >() {
b > 0
}
}