Files
2023-01-15 05:39:32 +00:00

10 lines
243 B
Java

// "Merge with the default 'switch' branch" "GENERIC_ERROR_OR_WARNING"
class Test {
void foo(Object o) {
switch (o) {
case String s -> {}
case null, default -> System.out.println("hello");
}
}
}