Move JVM specific IC tests with class hierarchy changes

This commit is contained in:
Alexey Tsvetkov
2017-07-13 08:06:16 +03:00
parent e16c5ddb97
commit 0a5fe3ef7c
50 changed files with 60 additions and 30 deletions
@@ -0,0 +1,6 @@
package foo
open class A {
@JvmName("g")
fun f() {}
}
@@ -0,0 +1,6 @@
package foo
open class A {
@JvmName("h")
fun f() {}
}
@@ -0,0 +1,3 @@
package foo
class AChild : A()
@@ -0,0 +1,24 @@
================ Step #1 =================
Cleaning output files:
out/production/module/foo/A.class
End of files
Compiling files:
src/A.kt
End of files
Marked as dirty by Kotlin:
src/AChild.kt
src/useAChild.kt
Exit code: ADDITIONAL_PASS_REQUIRED
------------------------------------------
Cleaning output files:
out/production/module/META-INF/module.kotlin_module
out/production/module/foo/AChild.class
out/production/module/foo/UseAChildKt.class
End of files
Compiling files:
src/AChild.kt
src/useAChild.kt
End of files
Exit code: OK
------------------------------------------
@@ -0,0 +1,5 @@
package foo
fun useAChild(a: AChild) {
a.f()
}