Migrate boxInline tests to new multi-file framework
This commit is contained in:
committed by
Alexander Udalov
parent
fa1f7d988e
commit
cc84aabdcf
@@ -1,4 +0,0 @@
|
||||
package test
|
||||
inline fun stub() {
|
||||
|
||||
}
|
||||
+10
-1
@@ -1,3 +1,12 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
inline fun stub() {
|
||||
|
||||
}
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
fun box(): String {
|
||||
return "KO".reversed()
|
||||
}
|
||||
@@ -11,4 +20,4 @@ fun box(): String {
|
||||
//NoSmap_1Kt
|
||||
//*L
|
||||
//1#1,14:1
|
||||
//*E
|
||||
//*E
|
||||
@@ -1,3 +0,0 @@
|
||||
package test
|
||||
|
||||
inline fun <reified T> className() = T::class.simpleName
|
||||
+9
-1
@@ -1,3 +1,11 @@
|
||||
// FILE: 1.kt
|
||||
|
||||
package test
|
||||
|
||||
inline fun <reified T> className() = T::class.simpleName
|
||||
|
||||
// FILE: 2.kt
|
||||
|
||||
import test.*
|
||||
|
||||
fun box(): String {
|
||||
@@ -19,4 +27,4 @@ fun box(): String {
|
||||
//*L
|
||||
//1#1,22:1
|
||||
//3#2:23
|
||||
//*E
|
||||
//*E
|
||||
Reference in New Issue
Block a user