Migrate boxAgainstJava tests to multi-file framework
This commit is contained in:
@@ -1,3 +1,16 @@
|
||||
// FILE: Base.java
|
||||
|
||||
interface Base<T> {
|
||||
void call(T t);
|
||||
}
|
||||
|
||||
// FILE: Derived.java
|
||||
|
||||
interface Derived extends Base<String> {
|
||||
}
|
||||
|
||||
// FILE: 1.kt
|
||||
|
||||
fun box(): String {
|
||||
Base<String>{}.call("")
|
||||
Derived{}.call("")
|
||||
|
||||
Reference in New Issue
Block a user