[FIR-TEST] Move analysis tests to separate module
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// FILE: Test.java
|
||||
|
||||
import java.lang.*;
|
||||
import java.util.*;
|
||||
|
||||
public class Test {
|
||||
public static class MapEntryImpl implements Map.Entry<String, String> {
|
||||
public String getKey() { return null; }
|
||||
public String getValue() { return null; }
|
||||
public String setValue(String s) { return null; }
|
||||
}
|
||||
}
|
||||
|
||||
// FILE: main.kt
|
||||
|
||||
class MyMapEntry : Test.MapEntryImpl()
|
||||
|
||||
fun test() {
|
||||
val b = MyMapEntry()
|
||||
val key = b.key
|
||||
val value = b.value
|
||||
b.setValue(null)
|
||||
}
|
||||
Reference in New Issue
Block a user