mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
9 lines
271 B
Swift
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
|