Files
swift-mirror/validation-test/compiler_crashers_2/4ae85881765dc0db.swift
2025-06-19 14:42:54 +01:00

5 lines
382 B
Swift

// {"signature":"diagnoseAmbiguityWithContextualType(swift::constraints::ConstraintSystem&, swift::constraints::SolutionDiff&, llvm::ArrayRef<std::__1::pair<swift::constraints::Solution const*, swift::constraints::ConstraintFix const*>>, llvm::ArrayRef<swift::constraints::Solution>)"}
// RUN: not --crash %target-swift-frontend -typecheck %s
struct a func b< c >(c = a(
func a