Test for obsolete KT-9642

#KT-9642 Obsolete
This commit is contained in:
Michael Bogdanov
2015-10-29 17:05:37 +03:00
parent f3092bf390
commit 9f9217b9c3
2 changed files with 23 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
class Outer {
class Nested {
fun fn(): String {
s = "OK"
return s
}
}
companion object {
public var s = "fail"
private set
}
}
fun box(): String {
return Outer.Nested().fn()
}