[TD] Update testdata according to previous commit
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
@@ -12,7 +13,6 @@ inline fun <T> doSmth2(a: T) : String {
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun test1(s: Long): String {
|
||||
|
||||
+2
-2
@@ -1,6 +1,7 @@
|
||||
// WITH_RUNTIME
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// TARGET_BACKEND: JVM
|
||||
// FILE: 1.kt
|
||||
// WITH_RUNTIME
|
||||
package test
|
||||
|
||||
inline fun <R> mfun(f: () -> R) {
|
||||
@@ -13,7 +14,6 @@ fun noInline(suffix: String, l: (s: String) -> Unit) {
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
import java.util.*
|
||||
|
||||
|
||||
+1
-1
@@ -1,3 +1,4 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
@@ -16,7 +17,6 @@ inline fun doSmth(a: String): String {
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun test1(param: String): String {
|
||||
|
||||
+1
-1
@@ -1,3 +1,4 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
@@ -9,7 +10,6 @@ inline fun <R> call(crossinline f: () -> R) : R {
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun sameName(s: Long): Long {
|
||||
|
||||
+2
-2
@@ -1,3 +1,4 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// CHECK_BYTECODE_LISTING
|
||||
// FILE: 1.kt
|
||||
package test
|
||||
@@ -7,7 +8,6 @@ inline fun <R> call(crossinline f: () -> R) : R {
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
inline fun sameName(s: Long): String = call { "FAIL" }
|
||||
@@ -17,4 +17,4 @@ fun box(): String {
|
||||
val result = sameName(1)
|
||||
sameName(1L)
|
||||
return result
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// NO_CHECK_LAMBDA_INLINING
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
@@ -19,7 +20,6 @@ fun <R> notInline(job: ()-> R) : R {
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
//NO_CHECK_LAMBDA_INLINING
|
||||
import test.*
|
||||
|
||||
fun testSameCaptured() : String {
|
||||
|
||||
Reference in New Issue
Block a user