Files
kotlin-fork/compiler/testData/codegen/box/sameFileInSourceAndDependencies/functionDeclaration.kt
T
Vladimir Sukharev ab03cb2357 [Test] Convert IGNORE: NATIVE directives in box tests sam/* and sameFile*/*
^KT-59057

Merge-request: KT-MR-10758
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
2023-06-23 06:23:53 +00:00

21 lines
415 B
Kotlin
Vendored

// NATIVE error: static cache is broken: ld.gold invocation reported errors. Please try to disable compiler caches and rerun the build.
// DONT_TARGET_EXACT_BACKEND: NATIVE
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// MODULE: lib
// FILE: 2.kt
fun a() = "OK"
fun b() = a()
// FILE: 3.kt
fun c() = b()
// MODULE: main(lib)
// FILE: 1.kt
fun d() = c()
fun box(): String = d()
// FILE: 2.kt
fun a() = "OK"
fun b() = a()