Migrate boxInline tests to new multi-file framework

This commit is contained in:
Alexander Udalov
2016-02-24 13:29:32 +03:00
committed by Alexander Udalov
parent fa1f7d988e
commit cc84aabdcf
586 changed files with 6946 additions and 5639 deletions
@@ -1,9 +0,0 @@
package zzz
public class A(val a: Int, val b: Int)
operator inline fun A.component1() = a
operator inline fun A.component2() = b
//SMAP ABSENT
@@ -1,3 +1,17 @@
// FILE: 1.kt
package zzz
public class A(val a: Int, val b: Int)
operator inline fun A.component1() = a
operator inline fun A.component2() = b
//SMAP ABSENT
// FILE: 2.kt
import zzz.*
fun box(): String {
@@ -18,4 +32,4 @@ fun box(): String {
//*L
//1#1,21:1
//5#2,3:22
//*E
//*E
@@ -1,7 +0,0 @@
package zzz
public class A(val p: Int)
operator inline fun A.iterator() = (1..p).iterator()
//SMAP ABSENT
@@ -1,3 +1,15 @@
// FILE: 1.kt
package zzz
public class A(val p: Int)
operator inline fun A.iterator() = (1..p).iterator()
//SMAP ABSENT
// FILE: 2.kt
import zzz.*
fun box(): String {
@@ -21,4 +33,4 @@ fun box(): String {
//*L
//1#1,24:1
//5#2:25
//*E
//*E