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
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
class OK
@@ -21,8 +20,6 @@ inline fun <reified T> inlineFun2(): String {
import test.*
fun box(): String {
return inlineFun2<FAIL>()
}
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
inline fun <reified T> inlineFun(p: String, lambda: () -> String = { { p + T::class.java.simpleName } () }): String {
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
inline fun <reified T> inlineFun(p: String, crossinline lambda: () -> String = { { p + T::class.java.simpleName } () }): String {
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
inline fun <reified T> inlineFun(crossinline lambda: () -> String = { { T::class.java.simpleName } () }): String {
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
inline fun <reified T> inlineFun(lambda: () -> String = { { T::class.java.simpleName } () }): String {
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
inline fun <reified T> inlineFun(lambda: () -> String = { T::class.java.simpleName }): String {
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
class K
@@ -1,9 +1,8 @@
// IGNORE_BACKEND: JVM_IR
// IGNORE_BACKEND: NATIVE
// FILE: 1.kt
// LANGUAGE_VERSION: 1.2
// SKIP_INLINE_CHECK_IN: inlineFun$default
//WITH_RUNTIME
// WITH_RUNTIME
package test
class OK
@@ -21,8 +20,6 @@ inline fun <reified X> inlineFun2(): String {
import test.*
fun box(): String {
return inlineFun2<OK>()
}