15 lines
297 B
Java
15 lines
297 B
Java
|
/*
|
||
|
* @test /nodynamiccopyright/
|
||
|
* @bug 6970584
|
||
|
* @summary Flow.java should be more error-friendly
|
||
|
* @author mcimadamore
|
||
|
*
|
||
|
* @compile/fail/ref=FailOver14.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver14.java
|
||
|
*/
|
||
|
|
||
|
class Test extends Test {
|
||
|
|
||
|
{ for (Integer x : !x) { } }
|
||
|
|
||
|
}
|