Remove LANGUAGE_VERSION from boxInline tests

This commit is contained in:
Alexander Udalov
2018-12-17 18:30:26 +01:00
parent 0871a3cc4d
commit 9b6a52ccba
53 changed files with 78 additions and 129 deletions

View File

@@ -0,0 +1,20 @@
// IGNORE_BACKEND: JVM_IR
// FILE: 1.kt
// SKIP_INLINE_CHECK_IN: inlineFun$default
package test
class A(val value: String) {
inline fun inlineFun(lambda: () -> String = { value }): String {
return lambda()
}
}
// FILE: 2.kt
import test.*
// CHECK_CONTAINS_NO_CALLS: box
fun box(): String {
return A("OK").inlineFun()
}