test/langtools/tools/javac/switchexpr/ExpressionSwitchCodeFromJLS.java
changeset 53023 6879069d9d94
parent 51563 de411d537aae
child 53878 4584d0331318
equal deleted inserted replaced
53022:ece620f32d2d 53023:6879069d9d94
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8206986
    26  * @bug 8206986
    27  * @summary Check switch expressions
    27  * @summary Check switch expressions
    28  * @compile --enable-preview -source 12 ExpressionSwitchCodeFromJLS.java
    28  * @compile --enable-preview -source 13 ExpressionSwitchCodeFromJLS.java
    29  * @run main/othervm --enable-preview ExpressionSwitchCodeFromJLS
    29  * @run main/othervm --enable-preview ExpressionSwitchCodeFromJLS
    30  */
    30  */
    31 
    31 
    32 public class ExpressionSwitchCodeFromJLS {
    32 public class ExpressionSwitchCodeFromJLS {
    33     static void howMany(int k) {
    33     static void howMany(int k) {