blob: 3294787a4bda5e555e8a44265d51a6599cd1154a [file]
// RUN_PIPELINE_TILL: CODEGEN
package bar
import foo.AllOpenGenerated
import org.jetbrains.kotlin.plugin.sandbox.ExternalClassWithNested
@ExternalClassWithNested
class Foo {
fun foo() {}
}
@ExternalClassWithNested
class Bar {
fun bar() {}
}
fun testConstructor() {
val generatedClass: AllOpenGenerated = AllOpenGenerated()
}
fun testNestedClasses() {
val nestedFoo = AllOpenGenerated.NestedFoo()
nestedFoo.materialize().foo()
val nestedBar = AllOpenGenerated.NestedBar()
nestedBar.materialize().bar()
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, localProperty, propertyDeclaration */