 }
 
 func testOverloadedAsync() async {
+  _ = await overloadedSame() // no warning
+
   let _ = await overloaded()
   let _ = overloaded() // expected-error{{call is 'async' but is not marked with 'await'}}
 

  }
  let _: Int = fn4 // expected-error{{value of type '() async -> ()'}}
}

}

// Overloading
@available(swift, deprecated: 4.0, message: "synchronous is no fun")
func overloadedSame() -> String { "synchronous" }

func overloadedSame() async -> String { "asynchronous" }

func overloaded() -> String { "synchronous" }
func overloaded() async -> Double { 3.14159 }

func testOverloadedSync() {
  _ = overloadedSame() // expected-warning{{synchronous is no fun}}

  let _ = overloaded()
  let fn = {
    overloaded()
