mirror of
https://github.com/apple/swift.git
synced 2026-10-16 16:50:49 +02:00
10 lines
524 B
Swift
10 lines
524 B
Swift
// {"kind":"typecheck","original":"d2ffa4d1","signature":"swift::constraints::ConstraintSystem::simplifySyntacticElementConstraint(swift::ASTNode, swift::constraints::ContextualTypeInfo, bool, swift::optionset::OptionSet<swift::constraints::ConstraintSystem::TypeMatchFlags, unsigned int>, swift::constraints::ConstraintLocatorBuilder)","signatureNext":"ConstraintSystem::simplifyConstraint"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
subscript() -> <#type#> {
|
|
_read {
|
|
!if a.b {
|
|
yield
|
|
}
|
|
}
|
|
}
|