Files
swift-mirror/validation-test/compiler_crashers_fixed/findFavoredChoicesBasedOnArity-259af6.swift
2025-11-07 22:17:33 +00:00

5 lines
537 B
Swift

// {"kind":"typecheck","signature":"void llvm::function_ref<void (swift::constraints::Constraint*, swift::ValueDecl*, swift::FunctionType*)>::callback_fn<(anonymous namespace)::findFavoredChoicesBasedOnArity(swift::constraints::ConstraintSystem&, swift::constraints::Constraint*, swift::ArgumentList*, llvm::function_ref<void (swift::constraints::Constraint*)>)::$_0>(long, swift::constraints::Constraint*, swift::ValueDecl*, swift::FunctionType*)"}
// RUN: not %target-swift-frontend -typecheck %s
var a: Any
let a : () -> Void = a (b)