blob: 716e9d40b9c386cac9ea0f16279320b840ef030e [file]
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
class C {
int foo(final int x, int n) {
return switch (x) {
case 0 -> {
<caret>yield /*1*/ switch (n) { // 2
case 0 -> 0;
default -> 1;
}/*3*/; //4
}
default -> 2;
};
}
}