< prev index next >

test/langtools/tools/javac/diags/examples/SwitchExpressions.java

Print this page

        

@@ -21,11 +21,11 @@
  * questions.
  */
 
 // key: compiler.misc.feature.switch.expressions
 // key: compiler.warn.preview.feature.use.plural
-// options: --enable-preview -source 12 -Xlint:preview
+// options: --enable-preview -source 13 -Xlint:preview
 
 class SwitchExpressions {
     int m(int i) {
         return switch (i) {
             default: break -1;
< prev index next >