[AA] add more tests on companion members
This commit is contained in:
committed by
Space Team
parent
0f29edec15
commit
8bbe60e96c
+24
@@ -0,0 +1,24 @@
|
||||
// WITH_STDLIB
|
||||
// DO_NOT_CHECK_NON_PSI_SYMBOL_RESTORE_K1
|
||||
|
||||
class MyClass {
|
||||
companion object {
|
||||
val property = 0
|
||||
|
||||
const val constProperty = 1
|
||||
|
||||
@JvmStatic
|
||||
val staticProperty = 2
|
||||
|
||||
@JvmField
|
||||
val fieldProperty = 3
|
||||
|
||||
var variable = 4
|
||||
|
||||
@JvmStatic
|
||||
var staticVariable = 5
|
||||
|
||||
@JvmField
|
||||
var fieldVariable = 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user