mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
416 B
Swift
4 lines
416 B
Swift
// {"kind":"typecheck","signature":"swift::Parser::parseStmtConditionElement(llvm::SmallVectorImpl<swift::StmtConditionElement>&, swift::Diag<>, swift::StmtKind, llvm::StringRef&)","signatureAssert":"Assertion failed: (CurDeclContext->isLocalContext() && \"conditional binding in non-local context?!\"), function parseStmtConditionElement"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
func a: b[ if let
|