Specify target backend as JVM for SAM tests; mute other failed tests and regenerate tests.

This commit is contained in:
Zalim Bashorov
2016-11-10 13:27:37 +03:00
parent 24819a079b
commit afa58599ec
17 changed files with 97 additions and 44 deletions
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
fun box(): String {
var result = "FAIL"
val f = { result = "OK" }
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
var result = "FAIL"
fun getFun(): () -> Unit {
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
var result = "FAIL"
fun box(): String {
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
fun box(): String {
val o = "O"
var result = ""
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
class Box(val s: String) {
fun extract(): String {
var result = ""
@@ -1,3 +1,5 @@
// TARGET_BACKEND: JVM
var global = ""
fun Runnable(f: () -> Unit) = object : Runnable {