KT-11028 Add test for the issue

This commit is contained in:
Alexey Andreev
2016-03-30 17:41:11 +03:00
parent 4ac730e5ed
commit 166b985fca
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,14 @@
package foo
class X {
val a = Y.foo
object Y {
val foo = 23
}
}
fun box(): String {
assertEquals(23, X().a)
return "OK"
}