Files
kotlin/compiler/testData/writeFlags/property/classObject/class/noBackingField.kt
Pavel V. Talanov 59f192ef90 Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00

20 lines
292 B
Kotlin

class Test {
default object {
var prop: Int
get() {
return 10
}
set(i : Int) {
}
}
}
// TESTED_OBJECT_KIND: property
// TESTED_OBJECTS: Test, prop
// ABSENT: TRUE
// TESTED_OBJECT_KIND: property
// TESTED_OBJECTS: Test$Default, prop
// ABSENT: TRUE