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

14 lines
253 B
Plaintext

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