JS: added tests for recursion cycle in inline functions
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// !DIAGNOSTICS: -NOTHING_TO_INLINE
|
||||
|
||||
inline fun f(): Unit = <!INLINE_CALL_CYCLE!>g()<!>
|
||||
|
||||
inline fun g(): Unit = <!INLINE_CALL_CYCLE!>h()<!>
|
||||
|
||||
inline fun h(): Unit = <!INLINE_CALL_CYCLE!>f()<!>
|
||||
Reference in New Issue
Block a user