Files
kotlin-fork/analysis/low-level-api-fir/testdata/compilationPeers/inlinedClasses.kt
T

36 lines
516 B
Kotlin

/*
* Copyright 2010-2023 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// FILE: base.kt
package base
inline fun base() {
class Base {}
Base()
}
inline fun another() {
class Another {}
Another()
}
// FILE: lib.kt
package lib
import base.*
inline fun lib() {
class Lib {}
base()
}
// FILE: main.kt
package test
import lib.*
fun foo() {
lib()
}