Files
kotlin-fork/js/js.translator/testData/propertyAccess/cases/twoClassesWithProperties.kt
T
2014-03-11 20:04:00 +04:00

13 lines
146 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));
}