Enable bytecode text tests for the JVM_IR backend.
This commit is contained in:
committed by
Mikhael Bogdanov
parent
d1efac617d
commit
3a11322506
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
val a: Byte = 1 + 10
|
||||
|
||||
// 1 BIPUSH 11
|
||||
@@ -1,4 +1,5 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
// FILE: uint.kt
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
object A {
|
||||
private const val a = "$"
|
||||
private const val b = "1234$a"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
val x = 1
|
||||
|
||||
class A {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
fun box(): String {
|
||||
val z = 1;
|
||||
return "O" + "K".toString() + z
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
val a: Short = 1 + 255
|
||||
|
||||
// 1 SIPUSH 256
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
fun box(): String {
|
||||
return "O" + "K".toString() + 1.toLong()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user