Files
kotlin/compiler/testData/diagnostics/testsWithJsStdLibAndBackendCompilation/inline/recursionCycleLambda.kt
2015-03-23 16:43:48 +03:00

7 lines
234 B
Kotlin
Vendored

// !DIAGNOSTICS: -NOTHING_TO_INLINE
inline fun f(): Unit = <!INLINE_CALL_CYCLE!>g()<!>
inline fun g(): Unit = <!INLINE_CALL_CYCLE!>h { <!INLINE_CALL_CYCLE!>f()<!> }<!>
inline fun h(fn: ()->Unit): Unit = <!INLINE_CALL_CYCLE!>fn()<!>