Migrate bytecode text tests to multi-file framework

Get rid of BytecodeTextMultifileTestGenerated
This commit is contained in:
Alexander Udalov
2016-02-25 14:34:18 +03:00
parent fbc2fe74ad
commit 647e188a08
20 changed files with 214 additions and 208 deletions
@@ -0,0 +1,27 @@
// FILE: otherFile.kt
@file:[JvmName("Util") JvmMultifileClass]
package test
public fun publicInOtherFile() {}
// FILE: thisFile.kt
@file:[JvmName("Util") JvmMultifileClass]
package test
inline fun foo(body: () -> Unit) {
publicInThisFile()
publicInOtherFile()
body()
}
public fun publicInThisFile() {}
fun bar() {
foo {}
}
// @test/Util__ThisFileKt.class:
// 2 INVOKESTATIC test/Util.publicInThisFile
// 2 INVOKESTATIC test/Util.publicInOtherFile