Files
kotlin-fork/analysis/analysis-api/testData/components/compilerFacility/compilationMultiModule/dependencyBetweenBinaryLibraries.kt
T
Marco Pennekamp b5eccd63b1 [AA] Fix compilation facility "multi binary module" test module structure
- The module structure for these tests was set up backwards: We should
  keep the test module kind of the main module flexible (as it is
  configured by test configurators), but keep the module kinds of the
  binary libraries fixed.

^KT-65960
^KT-64994
2024-02-26 21:57:23 +00:00

20 lines
277 B
Kotlin
Vendored

// MODULE: lib
// MODULE_KIND: LibraryBinary
// FILE: p3/foo.kt
package p3
fun foo() = 3
// MODULE: lib2(lib)
// MODULE_KIND: LibraryBinary
// FILE: p2/bar.kt
package p2
fun bar() = 4 + p3.foo()
// MODULE: main(lib, lib2)
// FILE: main.kt
import p2.bar
fun test() = bar()