mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
5 lines
435 B
Swift
5 lines
435 B
Swift
// {"kind":"typecheck","signature":"swift::findSyntacticErrorForConsume(swift::ModuleDecl*, swift::SourceLoc, swift::Expr*, llvm::function_ref<swift::Type (swift::Expr*)>)","signatureAssert":"Assertion failed: (!isa<ConsumeExpr>(subExpr) && \"operates on the sub-expr of a consume\"), function findSyntacticErrorForConsume"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
func a(consume : String) {
|
|
consume consume consume
|