b5eccd63b1
- 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
20 lines
277 B
Kotlin
Vendored
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()
|