Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
// FILE: Sub.java
|
||||
|
||||
class Super {
|
||||
void safeInvoke(Runnable r) {
|
||||
if (r != null) r.run();
|
||||
}
|
||||
}
|
||||
|
||||
class Sub extends Super {
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
fun box(): String {
|
||||
var r = "FAIL"
|
||||
val sub = Sub()
|
||||
|
||||
Reference in New Issue
Block a user