Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
5e49b472f81ed95098eec9749aa2ad0415fac731
/
.
/
compiler
/
testData
/
codegen
/
box
/
script
/
scriptNestedClassInstance.kt
blob: b0b0bb906cd37442048ff80a0d52cd87ee732aa2 [
file
]
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_K2: JVM_IR, JS_IR
// 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"
}