mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Instead of a JVMConfigurationKeys key. This will allow to use it in a checker in 'frontend.java'
25 lines
515 B
Kotlin
Vendored
25 lines
515 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR
|
|
// !INHERIT_MULTIFILE_PARTS
|
|
// FILE: bar.kt
|
|
|
|
@file:JvmName("Util")
|
|
@file:JvmMultifileClass
|
|
public fun bar(): String = barx()
|
|
|
|
public fun foox(): String = "O"
|
|
|
|
// FILE: foo.kt
|
|
|
|
@file:JvmName("Util")
|
|
@file:JvmMultifileClass
|
|
public fun foo(): String = foox()
|
|
|
|
public fun barx(): String = "K"
|
|
|
|
// @Util.class:
|
|
// 1 public final class Util extends Util__FooKt
|
|
// 0 public final static foo\(\)
|
|
// 0 public final static foox\(\)
|
|
// 0 public final static bar\(\)
|
|
// 0 public final static barx\(\)
|