mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
250 B
Swift
12 lines
250 B
Swift
func foo(i: Int, complete: ()->()) {}
|
|
|
|
func main() {
|
|
foo(i: 2) {
|
|
print(2)
|
|
}
|
|
}
|
|
|
|
// RUN: %refactor -source-filename %s -pos=4:13 -end-pos=6:4 | %FileCheck %s -check-prefix=CHECK-NONE
|
|
// CHECK-NONE: Action begins
|
|
// CHECK-NONE-NEXT: Action ends
|