test/langtools/tools/javac/switchexpr/WarnWrongYieldTest.java
changeset 59021 cfc7bb9a5a92
parent 55573 e709712a8188
equal deleted inserted replaced
59020:aebd72de84b0 59021:cfc7bb9a5a92
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 8223305 8226522
    26  * @bug 8223305 8226522
    27  * @summary Verify correct warnings w.r.t. yield
    27  * @summary Verify correct warnings w.r.t. yield
    28  * @compile/ref=WarnWrongYieldTest.out -source ${jdk.version} -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java
    28  * @compile/ref=WarnWrongYieldTest.out -Xlint:-options -source 13 -XDrawDiagnostics -XDshould-stop.at=ATTR WarnWrongYieldTest.java
    29  */
    29  */
    30 
    30 
    31 package t;
    31 package t;
    32 
    32 
    33 //ERROR - type called yield:
    33 //ERROR - type called yield: