Moved javaAgainstKotlin cases to generated test.

This commit is contained in:
Evgeny Gerashchenko
2013-03-07 15:52:24 +04:00
parent a0b780c7bb
commit d76de90931
20 changed files with 82 additions and 25 deletions
@@ -0,0 +1,11 @@
package test
public open class Base : java.lang.Object {
public constructor Base()
public/*package*/ open fun foo() : Unit
}
internal final class Derived : test.Base {
public constructor Derived()
internal open override /*1*/ fun foo() : Unit
}
@@ -0,0 +1,6 @@
package test;
public class Base {
void foo() {}
}
@@ -0,0 +1,5 @@
package test
class Derived(): Base() {
override fun foo() {}
}
@@ -0,0 +1,11 @@
package test
public open class Base : java.lang.Object {
public constructor Base()
protected/*protected and package*/ open fun foo() : Unit
}
internal final class Derived : test.Base {
public constructor Derived()
protected open override /*1*/ fun foo() : Unit
}
@@ -0,0 +1,6 @@
package test;
public class Base {
protected void foo() {}
}
@@ -0,0 +1,5 @@
package test
class Derived(): Base() {
override fun foo() {}
}