blob: 0a358528b0e95c8cb141f9dc1959baf671486f89 [file]
// "Replace with 'Math.min'" "true"
class Test {
void test(int a, int b, String s) {
int c = switch (s) {
case "foo" -> {
yield Math.min(b, a);
}
};
}
}