Files
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
173 B
Plaintext

fileprivate func new_name(_ aaa: inout Int) -> Int {
aaa = aaa + 3
if aaa == 3 { aaa = 4 }
return aaa
}
func foo() -> Int{
var aaa = 1 + 2
return new_name(&aaa)
}