Files
kotlin-fork/compiler/testData/codegen/box/script/scriptNestedClassInstance.kt
T

16 lines
270 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
// FIR status: scripts aren't supported yet
// IGNORE_LIGHT_ANALYSIS
// WITH_STDLIB
// FILE: test.kt
fun box(): String =
Script.Nested().x
// FILE: script.kts
class Nested {
val x = "OK"
}