Files
why3/bench/java/expected/IfThenElse.java

23 lines
335 B
Java
Raw Permalink Normal View History

2022-05-13 10:53:00 +02:00
/* This file has been extracted from module IfThenElse. */
public class IfThenElse {
public static int testIte(boolean b0, boolean b1) {
int x;
if (b0) {
if (b1) {
x = 2;
} else {
x = 0;
}
} else if (b1) {
x = 3;
} else {
x = 1;
}
return 2 * x;
}
}