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
@@ -0,0 +1,18 @@
package thispackage
import otherpackage.*
fun box(): String {
if (!localUse()) {
return "local use failed"
}
if (!fromOtherPackage()) {
return "use from other package failed"
}
return "OK"
}
fun localUse(): Boolean {
val c = javaClass<Runnable>()
return (c.getName()!! == "java.lang.Runnable")
}
@@ -0,0 +1,6 @@
package otherpackage
fun fromOtherPackage(): Boolean {
val c = javaClass<Runnable>()
return (c.getName()!! == "java.lang.Runnable")
}