Enable bytecode text tests for the JVM_IR backend.

This commit is contained in:
Mads Ager
2018-12-21 13:22:56 +01:00
committed by Mikhael Bogdanov
parent d1efac617d
commit 3a11322506
347 changed files with 3651 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
inline fun inlineFunVoid(f: () -> Unit): Unit {
return f()
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun test() {
val a = inlineFunInt { 1 }
val b = simpleFunInt { 1 }
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
interface A {
fun foo()
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
interface A {
fun foo(): Any
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun test(ss: List<String?>) {
val shortStrings = hashSetOf<String>()
val longStrings = hashSetOf<String>()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun test(list: List<String>) {
val result = mutableListOf<String>()
use1 { list.forEach { result.add(it) } }