K2 Scripting: restore some codegen scripting tests for K2

This commit is contained in:
Ilya Chernikov
2023-12-21 17:34:32 +01:00
committed by Space Team
parent a83d2b7a67
commit 3b70b3d92d
17 changed files with 248 additions and 4 deletions
@@ -0,0 +1,14 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_K1: JVM, JVM_IR, JS_IR, JS_IR_ES6
// IGNORE_LIGHT_ANALYSIS
// WITH_STDLIB
// FILE: test.kt
fun box(): String =
Nested().x
// FILE: script.kts
class Nested {
val x = "OK"
}