blob: 9bcb90a277021149553e43a5ec84080bf5050304 [file]
import org.jetbrains.annotations.Nullable;
class Test {
@Nullable
private static native String getNext();
public static void test() {
String v = null;
while ((v = getNext()) != null) {
v.substring(1);
}
}
}