Minor. Change test to use the feature instead of suppressing error

This commit is contained in:
Ilmir Usmanov
2021-01-19 07:26:43 +01:00
parent d1ee45b518
commit b476f1cc3e
4 changed files with 18 additions and 3 deletions
@@ -1,12 +1,12 @@
// WITH_RUNTIME
// WITH_COROUTINES
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM
// IGNORE_BACKEND: JVM, JS_IR
// IGNORE_LIGHT_ANALYSIS
// LANGUAGE: +SuspendFunctionsInFunInterfaces, +JvmIrEnabledByDefault
import helpers.*
import kotlin.coroutines.*
@Suppress("FUN_INTERFACE_WITH_SUSPEND_FUNCTION")
fun interface Action {
suspend fun run()
}