blob: 3f40027d1ecdd2a56b67ba9641d5a9cbc7a6e3f1 [file]
// "Unwrap code block of labeled rule" "LIKE_UNUSED_SYMBOL"
class C {
String foo(int n) {
return switch (n) {
case 1 -> {
throw new RuntimeException();
<caret>}
default -> "b";
};
}
}