a3e2d2804c
- Actualize muted K2 tests - Actualize muted K1 tests with module systems because legacy Wasm test infra had no respect for "// MODULE: ..." test directives
15 lines
213 B
Kotlin
Vendored
15 lines
213 B
Kotlin
Vendored
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
|
|
|
<!NO_TAIL_CALLS_FOUND!>tailrec<!> fun foo() {
|
|
bar {
|
|
<!NON_TAIL_RECURSIVE_CALL!>foo<!>()
|
|
}
|
|
}
|
|
|
|
fun bar(a: Any) {}
|
|
|
|
fun box(): String {
|
|
foo()
|
|
return "OK"
|
|
}
|