Files
kotlin-fork/js/js.translator/testFiles/propertyAccess/cases/twoClassesWithProperties.kt
T
2012-02-27 21:55:58 +04:00

13 lines
149 B
Kotlin

package foo
class A() {
val a : Int = 1
}
class B() {
val b : Int = 2
}
fun box() : Boolean {
return ((A().a == 1) && (B().b == 2));
}