Files
kotlin-fork/compiler/testData/ir/irText/expressions/literals.kt
T
Dmitry Petrov fe46a02885 Support all primitive literal types.
Apply simple unary operators to constants.
2016-10-18 09:08:38 +03:00

12 lines
200 B
Kotlin
Vendored

val test1 = 1
val test2 = -1
val test3 = true
val test4 = false
val test5 = "abc"
val test6 = null
val test7 = 1L
val test8 = -1L
val test9 = 1.0
val test10 = -1.0
val test11 = 1.0f
val test12 = -1.0f