blob: be0fb079ebc9d38ebd6bee3eff186ffea22928ba [file]
// "Replace with old style 'switch' statement" "true"
import java.util.*;
class SwitchExpressionMigration {
private static void m(int x) {
var y = switch<caret> (x) {
case 1 -> 1;
default -> 0;
};
}
}