Tests for renamed fields

This commit is contained in:
Mikhael Bogdanov
2013-06-07 14:54:07 +04:00
parent aec6deae9f
commit 76d4dcef7f
21 changed files with 312 additions and 19 deletions
@@ -0,0 +1,16 @@
class Test(val prop: String) {
class object {
public val prop : String = "CO";
}
}
fun box() : String {
val obj = Test("OK");
if (Test.prop != "CO") return "fail1";
return obj.prop;
}