Minor, move diagnostic tests for class objects

This commit is contained in:
Alexander Udalov
2013-10-18 17:56:12 +04:00
parent bd244e0460
commit 94deb21551
5 changed files with 30 additions and 21 deletions
@@ -0,0 +1,9 @@
// http://youtrack.jetbrains.net/issue/KT-20
class A() {
val x = 1
class object {
val y = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>x<!>
}
}