more tests for backing fields

This commit is contained in:
Stepan Koltsov
2011-11-17 17:22:52 +04:00
parent 1b04870fa4
commit 3c24530b67
2 changed files with 12 additions and 0 deletions
@@ -0,0 +1,5 @@
namespace customGetValGlobal {
val zz = 1
get() = $zz * 2
}
@@ -0,0 +1,7 @@
abstract class ReadNonexistent() {
abstract val aa: Int
{
val x = <!NO_BACKING_FIELD!>$aa<!>
}
}