Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleWithPublicFun.kt
T
Alexander Korepanov be4f6beddb [JS Tests] Prepare JS tests for testing backend diagnostics
- Introducing a backend diagnostic handler.
 - Moving JS diagnostic tests from test-common to
   js.test to avoid circular module dependencies.

^KT-61886 Fixed
2023-09-13 12:19:15 +00:00

11 lines
279 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// TODO: fix in KT-61881
// !DIAGNOSTICS: -NOTHING_TO_INLINE
// FIR_IDENTICAL
public inline fun f():Unit = <!INLINE_CALL_CYCLE!>g()<!>
public inline fun g(): Unit = <!INLINE_CALL_CYCLE!>h()<!>
public inline fun h(): Unit = <!INLINE_CALL_CYCLE!>f()<!>