// TARGET_BACKEND: JVM // IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6 // FIR status: script declarations are not visible from other sources // IGNORE_LIGHT_ANALYSIS // WITH_STDLIB // FILE: test.kt fun box(): String = Script.Nested().x // FILE: script.kts class Nested { val x = "OK" }