view test/langtools/tools/javac/switchexpr/ExpressionSwitchBreaks2.out @ 49304:00909878a9f3

Adding test for ambiguous break that has a wrong expression type.
author jlahoda
date Wed, 21 Feb 2018 08:20:31 +0100
parents 0fe63dbc5e54
children 5a006d1108a4
line wrap: on
line source
ExpressionSwitchBreaks2.java:37:25: compiler.err.break.missing.value
ExpressionSwitchBreaks2.java:39:25: compiler.err.break.outside.switch.expression
ExpressionSwitchBreaks2.java:43:37: compiler.err.break.ambiguous.target: x
ExpressionSwitchBreaks2.java:50:37: compiler.err.break.ambiguous.target: x
ExpressionSwitchBreaks2.java:56:17: compiler.err.break.complex.value.no.switch.expression
ExpressionSwitchBreaks2.java:56:29: compiler.err.cant.resolve.location: kindname.variable, undef, , , (compiler.misc.location: kindname.class, ExpressionSwitchBreaks2, null)
6 errors