mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 00:21:47 +00:00
19 lines
370 B
Kotlin
Vendored
19 lines
370 B
Kotlin
Vendored
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
val b: Byte = 100
|
|
val b1: Byte = 1
|
|
val s: Short = 20000
|
|
val s1: Short = 1
|
|
val i: Int = 2000000
|
|
val i1: Short = 1
|
|
val l: Long = 2000000000000L
|
|
val l1: Long = 1
|
|
val f: Float = 3.14f
|
|
val d: Double = 3.14
|
|
val bb: Boolean = true
|
|
val c: Char = '\u03c0' // pi symbol
|
|
val MAX_HIGH_SURROGATE: Char = '\uDBFF'
|
|
val nl = '\n'
|
|
|
|
val str: String = ":)" |