test/langtools/tools/javac/switchexpr/ExpressionSwitchEmbedding.java
changeset 53023 6879069d9d94
parent 52936 9745e4e36dd1
child 53878 4584d0331318
equal deleted inserted replaced
53022:ece620f32d2d 53023:6879069d9d94
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8214031 8214114
    26  * @bug 8214031 8214114
    27  * @summary Verify switch expressions embedded in various statements work properly.
    27  * @summary Verify switch expressions embedded in various statements work properly.
    28  * @compile --enable-preview -source 12 ExpressionSwitchEmbedding.java
    28  * @compile --enable-preview -source 13 ExpressionSwitchEmbedding.java
    29  * @run main/othervm --enable-preview ExpressionSwitchEmbedding
    29  * @run main/othervm --enable-preview ExpressionSwitchEmbedding
    30  */
    30  */
    31 
    31 
    32 public class ExpressionSwitchEmbedding {
    32 public class ExpressionSwitchEmbedding {
    33     public static void main(String... args) {
    33     public static void main(String... args) {