blob: 0b3c60ec7118cd011cbd972378fc22af97929c48 [file]
import java.util.*;
import org.jetbrains.annotations.*;
class ObjectLocality {
int x;
void test() {
ObjectLocality o = new ObjectLocality();
o.x = 5;
unknown();
<warning descr="Variable is already assigned to this value">o.x</warning> = 5;
o.unknown();
o.x = 5;
}
native void unknown();
}