blob: 6ad1d1439fe5168e36bface5844c5f19d37362d8 [file]
// "Wrap labeled rule's statement with code block" "GENERIC_ERROR_OR_WARNING"
class C {
String foo(int n) {
return switch (n) {
<caret>case 1 -> /*1*/ throw new RuntimeException(); /*2*/
default -> "b";
};
}
}