Reorganized SAM-related test data.

This commit is contained in:
Evgeny Gerashchenko
2013-06-27 23:10:09 +04:00
parent 8a51f908f7
commit e017645c97
130 changed files with 364 additions and 358 deletions
@@ -0,0 +1,6 @@
fun box(): String {
var v = "FAIL"
val max = JavaClass.findMaxAndInvokeCallback({ a, b -> a.length - b.length }, "foo", "kotlin", { v = "OK" })
if (max != "kotlin") return "Wrong max: $max"
return v
}