blob: 05121e91b4fed58f1f11e61d459d4d8dc624bb04 [file] [log] [blame]
import org.checkerframework.common.value.qual.*;
public class Boxing {
void simpleTest1(@BottomVal Integer x, int y) {
@BottomVal int f = x.intValue();
if (x.intValue() == y) {
@BottomVal int z = y;
}
}
void simpleTest2(@BottomVal Integer x, int y) {
if (x == y) {
@BottomVal int z = y;
}
}
void simpleTest3(@BottomVal Integer x, Integer y) {
if (x == y) {
@BottomVal int z = y;
}
}
}