Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
0114e07472e7613fb80622821692cfa9e6922f31
/
.
/
compiler
/
testData
/
diagnostics
/
testsWithJsStdLibAndBackendCompilation
/
inline
/
recursionCycleLambda.kt
blob: dc8e53993e718ca077d688f47eaac07af5f37ca2 [
file
] [
log
] [
blame
]
// IGNORE_BACKEND: JS_IR
// TODO: fix in KT-61881
// DIAGNOSTICS: -NOTHING_TO_INLINE
// FIR_IDENTICAL
inline
fun f
():
Unit
=
<!
INLINE_CALL_CYCLE
!>
g
()<!>
inline
fun g
():
Unit
=
h
{
<!
INLINE_CALL_CYCLE
!>
f
()<!>
}
inline
fun h
(
fn
:
()->
Unit
):
Unit
=
fn
()