Files
swift-mirror/test/refactoring/ExtractRepeat/Outputs/await/two.swift.expected
2021-05-25 16:08:29 +01:00

14 lines
245 B
Plaintext

func myAsync() async -> Int { 0 }
func myFoo() -> Int { 0 }
func testExtract() async -> Int {
let a = myFoo()
let b = myFoo()
let new_name = await myAsync()
let x = new_name
let y = new_name
return a + b + x + y
}
// rdar://72199992