basic multifile class codegen tests

This commit is contained in:
Dmitry Petrov
2015-09-08 14:52:12 +03:00
parent b3421479f1
commit e88584742e
15 changed files with 78 additions and 0 deletions
@@ -0,0 +1,10 @@
// NB this multifile class should be called "TestPackage" due to the way codegen box tests work.
@file:JvmName("TestPackage")
@file:JvmMultifileClass
package test
fun foo(): String = bar()
fun bar(): String = qux()
fun qux(): String = "OK"
fun box(): String = foo()