Mute failed jvm ir tests

This commit is contained in:
Mikhael Bogdanov
2018-06-28 11:45:21 +02:00
parent a10c06eb4d
commit e149cbe852
1890 changed files with 1890 additions and 0 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
inline fun bar(block: () -> String) : String {
return block()
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
fun returnNullable(): String? = null
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
var index = 0
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
// LANGUAGE_VERSION: 1.2
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
class Del<T>(var x: T) {
operator fun getValue(thisRef: Any?, kProp: Any) = x
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS, NATIVE
// FULL_JDK
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
var field: Int = 0
fun next(): Int {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
var field: Int = 0
fun next(): Int {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: JS_IR
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun box(): String {
var i = 0
{
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun <T> test(a: T, b: T, operation: (x: T) -> T) {
operation(if (3 > 2) a else b)
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
inline fun catchAll(x: String, block: () -> Unit): String {
try {
block()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
interface Callable {
fun call(b: Boolean)
}
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
inline fun doCall(f: () -> Any) = f()
fun test1() {
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
inline fun test(s: () -> Int): Int =
try {
val i = s()
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: JVM_IR
fun shouldReturnFalse() : Boolean {
try {
return true