Files
kotlin/compiler/testData/compileJavaAgainstKotlin/class/ClassObject.kt
pyos c7d7d903cd Add the IR version of CompileJavaAgainstKotlin tests
Only the WithoutJavac version for now, because the other one ignores
javac errors.
2019-04-12 12:43:37 +02:00

28 lines
399 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
package test
class WithClassObject {
companion object {
fun foo() {}
val value: Int = 0
val valueWithGetter: Int
get() = 1
var variable: Int = 0
var variableWithAccessors: Int
get() = 0
set(v) {}
}
class MyInner {
fun foo() {}
val value: Int = 0
}
}
object PackageInner {
fun foo() {}
val value: Int = 0
}