[Test] Update diagnostics testdata according to allowed suspend fun interfaces

This commit is contained in:
Dmitriy Novozhilov
2021-01-21 17:56:32 +03:00
parent a253b9508e
commit 299272fa6d
6 changed files with 6 additions and 6 deletions
@@ -2,7 +2,7 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER -NOTHING_TO_INLINE
fun interface SuspendRunnable {
<!FUN_INTERFACE_WITH_SUSPEND_FUNCTION!>suspend<!> fun invoke()
suspend fun invoke()
}
fun run(r: SuspendRunnable) {}