diff --git a/compiler/testData/diagnostics/tests/ReservedAsync.kt b/compiler/testData/diagnostics/tests/ReservedAsync.kt index b5fb492c941..f14e04ac806 100644 --- a/compiler/testData/diagnostics/tests/ReservedAsync.kt +++ b/compiler/testData/diagnostics/tests/ReservedAsync.kt @@ -6,6 +6,7 @@ infix fun Any.async(f: () -> Unit) = f() fun test(foo: Any) { async { } + `async` { } async /**/ { } foo async { } @@ -15,6 +16,7 @@ fun test(foo: Any) { foo async ({ }) foo async fun () {} + foo `async` fun () {} foo async (fun () {}) async (fun () {})