Tests for private members and accessors for them
This commit is contained in:
committed by
Max Kammerer
parent
8641dbf42a
commit
3b02498ca8
+13
@@ -0,0 +1,13 @@
|
||||
@file:kotlin.jvm.JvmMultifileClass
|
||||
@file:kotlin.jvm.JvmName("TestKt")
|
||||
package test
|
||||
|
||||
private val prop = "O"
|
||||
|
||||
private fun test() = "K"
|
||||
|
||||
fun box(): String {
|
||||
return {
|
||||
prop + test()
|
||||
}()
|
||||
}
|
||||
Reference in New Issue
Block a user