Add ir interpreter tests

This commit is contained in:
Ivan Kylchik
2021-05-19 16:27:03 +03:00
committed by TeamCityServer
parent cc2d7340dc
commit e28ab45c51
115 changed files with 5104 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import kotlin.*
import kotlin.collections.*
@CompileTimeCalculation
class A(val a: Int)
const val size = mapOf(1 to "A(1)").<!EVALUATED: `1`!>size<!>
const val first = mapOf(1 to "A(1)").entries.single().<!EVALUATED: `1`!>key<!>
const val second = mapOf(1 to "A(1)").values.<!EVALUATED: `A(1)`!>single()<!>