< prev index next >
test/langtools/tools/javac/diags/examples/SwitchExpressionTargetCantBeVoid.java
Print this page
@@ -24,11 +24,11 @@
// key: compiler.err.prob.found.req
// key: compiler.misc.incompatible.ret.type.in.lambda
// key: compiler.misc.switch.expression.target.cant.be.void
// key: compiler.note.preview.filename
// key: compiler.note.preview.recompile
-// options: --enable-preview -source 12
+// options: --enable-preview -source 13
class SwitchExpressionTargetCantBeVoid {
interface SAM {
void m();
< prev index next >