equal
deleted
inserted
replaced
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8206986 |
26 * @bug 8206986 |
27 * @summary Check switch expressions embedded in switch expressions. |
27 * @summary Check switch expressions embedded in switch expressions. |
28 * @compile --enable-preview -source ${jdk.version} ExpressionSwitchInExpressionSwitch.java |
28 * @compile ExpressionSwitchInExpressionSwitch.java |
29 * @run main/othervm --enable-preview ExpressionSwitchInExpressionSwitch |
29 * @run main ExpressionSwitchInExpressionSwitch |
30 */ |
30 */ |
31 |
31 |
32 public class ExpressionSwitchInExpressionSwitch { |
32 public class ExpressionSwitchInExpressionSwitch { |
33 public static void main(String[] args) { |
33 public static void main(String[] args) { |
34 |
34 |