Files
kotlin-fork/compiler/testData/evaluate/constant/integers.kt
T
Ilya Gorbunov 8041c3aa1d Support Char.code in constant evaluator, KT-46036
But do not consider Char.code a pure integer constant.
2021-04-16 03:58:34 +03:00

13 lines
255 B
Kotlin
Vendored

package test
// val prop1: 513105426295.toLong()
val prop1: Int = 0x7777777777
// val prop2: 513105426295.toLong()
val prop2: Long = 0x7777777777
// val prop3: 513105426295.toLong()
val prop3 = 0x7777777777
// val prop4: 10
const val prop4 = '\n'.code