Files
why3/bench/java/expected/UnreachableFixed.java

18 lines
324 B
Java
Raw Permalink Normal View History

2022-05-13 10:53:00 +02:00
/* This file has been extracted from module UnreachableFixed. */
public class UnreachableFixed {
public static int return1972() {
int i = 0;
int j = 1;
while (j > 0) {
if (i == 1972) {
return i;
}
i = i + 1;
}
throw new RuntimeException("unreachable statement");
}
}