Add ir interpreter tests
This commit is contained in:
committed by
TeamCityServer
parent
cc2d7340dc
commit
e28ab45c51
@@ -0,0 +1,8 @@
|
||||
@CompileTimeCalculation
|
||||
fun Int.minusOne(): Int {
|
||||
var value = this
|
||||
value = value - 1
|
||||
return this
|
||||
}
|
||||
|
||||
const val a = 5.<!EVALUATED: `5`!>minusOne()<!>
|
||||
Reference in New Issue
Block a user