mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
All bytecode text tests are run with stdlib in the classpath and only for JVM backend, therefore directives WITH_RUNTIME, TARGET_BACKEND, IGNORE_BACKEND are not needed
11 lines
262 B
Kotlin
Vendored
11 lines
262 B
Kotlin
Vendored
fun testByte(a: Byte, x: Byte, y: Byte) = a in x until y
|
|
|
|
fun testShort(a: Short, x: Short, y: Short) = a in x until y
|
|
|
|
fun testInt(a: Int, x: Int, y: Int) = a in x until y
|
|
|
|
fun testLong(a: Long, x: Long, y: Long) = a in x until y
|
|
|
|
// 0 until
|
|
// 0 INVOKEVIRTUAL
|