Move multi-file codegen testData to boxMultiFile/

There'll be an auto-generated test over this directory
This commit is contained in:
Alexander Udalov
2013-02-08 15:57:51 +04:00
committed by Alexander Udalov
parent 544aad390d
commit a61b3ec461
21 changed files with 0 additions and 63 deletions
@@ -1 +0,0 @@
fun box() = foo()
@@ -1,4 +0,0 @@
private val a = "OK"
fun foo() : String {
return "${a}"
}
@@ -1,6 +0,0 @@
public var v1: String = "V1"
fun box(): String {
val s = "v1: $v1, v2: $v2"
return "OK"
}
@@ -1 +0,0 @@
public var v2: String = "V2"
@@ -1,11 +0,0 @@
package testing; // There is no error if both files are in default package
public abstract class ClassWithInternals {
protected var some: Int = 0;
protected var someGetter: Int = 0
get() = 5
protected fun foo() : Int = 0
public abstract fun start() : Unit;
}
@@ -1,12 +0,0 @@
import testing.ClassWithInternals
public class HelloServer() : ClassWithInternals() {
public override fun start() {
val test = foo() + someGetter //+ some
}
}
fun box() : String {
HelloServer().start()
return "OK"
}
@@ -1,3 +0,0 @@
fun box() = o + k
private val o = "O"
@@ -1,3 +0,0 @@
private val k = "K"
fun ignore() = o