Minor, rename codegen tests on platformName and platformStatic

This commit is contained in:
Alexander Udalov
2015-10-23 16:02:27 +03:00
parent 18f3eb87e4
commit ae4c7b5a61
35 changed files with 196 additions and 196 deletions
@@ -0,0 +1,20 @@
import kotlin.jvm.JvmStatic
enum class A {
;
companion object {
val foo: String = "OK"
@JvmStatic val bar: String = "OK"
@JvmStatic fun baz() = foo
}
}
fun box(): String {
if (Test.foo() != "OK") return "Fail foo"
if (Test.bar() != "OK") return "Fail bar"
if (Test.getBar() != "OK") return "Fail getBar"
if (Test.baz() != "OK") return "Fail baz"
return "OK"
}