Fix Java12 tests

This commit is contained in:
Rawi01 authored and Roel Spilker committed 2023-03-22 10:22:34 +01:00
1 parent 193f808b69
commit 428023f548
1 file changed
+5 -5
+5 -5
View File
@@ -18,11 +18,11 @@ public class Switch12 {
public int switchExpr() {
return switch (5) {
case 1, 2 -> 0;
case 3 -> {
break 10;
}
default -> 10;
case 1, 2 -> 0;
case 3 -> {
break 10;
}
default -> 10;
} + 10;
}
}