Add test for obsolete issue

#KT-3311 Obsolete
This commit is contained in:
Alexander Udalov
2014-06-27 21:42:35 +04:00
parent 254a95ba1a
commit 52dadfc264
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,19 @@
// FILE: Super.java
public class Super {
public boolean foo;
public boolean bar;
public void setFoo(boolean foo) {
this.foo = foo;
}
}
// FILE: b.kt
public class Sub: Super() {
}
fun main(args: Array<String>) {
val x = Sub()
x.foo = true
x.bar = true
}