blob: 571d39045ff6a96d10e913e2e09a7aa7d5935a60 [file] [log] [blame]
// Test case for Issue 1423:
// https://github.com/typetools/checker-framework/issues/1423
import org.checkerframework.common.value.qual.IntRange;
public class Issue1423 {
void loop(int i) {
int a = 0;
while (i >= 2) {
@IntRange(from = 2) int i2 = i;
++a;
}
}
}