1414:843d3b191773 | 1415:01c9d4161882 |
---|---|
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 | 23 |
24 // key: compiler.err.unexpected.lambda | 24 // key: compiler.err.unexpected.lambda |
25 // options: -XDallowLambda | |
26 | 25 |
27 class UnexpectedLambda { | 26 class UnexpectedLambda { |
28 { (()-> { })++; } | 27 { (()-> { })++; } |
29 } | 28 } |