Files
swift-mirror/test/IDE/move_expr.swift
Michael Gottesman a155209e4f [consume] Fix consume parsing so we handle code completion and dollaridentifiers correctly.
This resulted from explorations around implementing the copy expr.

rdar://109479131
2023-05-17 22:42:42 -07:00

8 lines
285 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-ide-test -batch-code-completion -source-filename %s -filecheck %raw-FileCheck -completion-output-dir %t
func test(myParam: Int) {
consume #^CONSUME^#
// CONSUME: Decl[LocalVar]/Local: myParam[#Int#]; name=myParam
}