Files
2023-03-20 17:26:15 +00:00

9 lines
202 B
Java

// "Unwrap 'switch'" "true-preview"
class X {
void test(int i) {
int x;
<caret>switch ("1" + (x= ((--i/*text*/) + "1" + (++i) + "1"))) {
default -> System.out.println("1");
};
}
}