equal
deleted
inserted
replaced
22 */ |
22 */ |
23 |
23 |
24 // key: compiler.err.prob.found.req |
24 // key: compiler.err.prob.found.req |
25 // key: compiler.misc.incompatible.ret.type.in.lambda |
25 // key: compiler.misc.incompatible.ret.type.in.lambda |
26 // key: compiler.misc.switch.expression.target.cant.be.void |
26 // key: compiler.misc.switch.expression.target.cant.be.void |
27 // key: compiler.note.preview.filename |
|
28 // key: compiler.note.preview.recompile |
|
29 // options: --enable-preview -source ${jdk.version} |
|
30 |
27 |
31 class SwitchExpressionTargetCantBeVoid { |
28 class SwitchExpressionTargetCantBeVoid { |
32 |
29 |
33 interface SAM { |
30 interface SAM { |
34 void m(); |
31 void m(); |