13 lines
274 B
Java
13 lines
274 B
Java
|
/*
|
||
|
* @test /nodynamiccopyright/
|
||
|
* @bug 6970584
|
||
|
* @summary Flow.java should be more error-friendly
|
||
|
* @author mcimadamore
|
||
|
*
|
||
|
* @compile/fail/ref=FailOver04.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver04.java
|
||
|
*/
|
||
|
|
||
|
class Test {
|
||
|
{ new Unknown() {}; }
|
||
|
}
|