mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 20:50:54 +07:00
12 lines
204 B
Java
12 lines
204 B
Java
class BreakDeepInsideSwitchExpression {
|
|
int test(int i) {
|
|
return switch (i) {
|
|
default -> {
|
|
while (true) {
|
|
if (--i < 8) break;
|
|
}
|
|
yield i;
|
|
};
|
|
};
|
|
}
|
|
} |