Files
swift-mirror/test/refactoring/ExtractFunction/Outputs/extract_sugar/L2-5.swift.expected
Argyrios Kyrtzidis 60a91bb736 [refactoring] Upstreaming the implementation for Swift local refactoring (#11568)
[refactoring] Upstreaming the implementation for Swift local refactoring
2017-08-22 16:50:16 -07:00

12 lines
164 B
Plaintext

fileprivate func new_name(_ a: inout [Int]) -> [Int] {
a[0] = 3
a[1] = 4
a[3] = 4
return a
}
func foo(_ a : inout [Int]) -> [Int] {
return new_name(&a)
}