Sign in
fuchsia
/
third_party
/
swift
/
refs/tags/swift-DEVELOPMENT-SNAPSHOT-2018-03-05-a
/
.
/
test
/
refactoring
/
RefactoringKind
/
extract.swift
blob: 1a93f25efaee11117f276415f6d4b65bda8197a6 [
file
] [
log
] [
blame
]
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