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
|
||||
fun test() {
|
||||
{
|
||||
{}()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
inline fun test(crossinline l: () -> String) {
|
||||
{
|
||||
l()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
inline fun test(s: ()->Int){
|
||||
var i = 0;
|
||||
i = s()
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// For mutable collections and related types (e.g., MutableList, MutableListIterator)
|
||||
// 'as?' should be generated as a single 'safeAs...' intrinsic call
|
||||
// without instanceof or 'is...'.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
inline fun watch(p: String, f: (String) -> Int) {
|
||||
f(p)
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
inline fun test(s: ()->Int){
|
||||
var i = 0;
|
||||
try {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
inline fun <reified T : Enum<T>> myValues(): String {
|
||||
val values = enumValues<T>()
|
||||
return "OK"
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
inline fun test(s: ()->Int){
|
||||
var i = 0;
|
||||
try {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
package test
|
||||
|
||||
enum class X {
|
||||
|
||||
Reference in New Issue
Block a user