Files
kotlin/compiler/testData/codegen/bytecodeText/ranges/inUntil.kt
2018-12-21 16:20:45 +01:00

12 lines
288 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
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