Files
swift-mirror/validation-test/compiler_crashers_2/5b828cc4df77dc2e.swift
2025-07-07 11:12:36 +01:00

9 lines
271 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::ConstraintSystem::diagnoseAmbiguity(llvm::ArrayRef<swift::constraints::Solution>)"}
// RUN: not --crash %target-swift-frontend -typecheck %s
struct a {
lazy b : Int -> Int = {
b(0.0
1
}
b : Int -> Int