langtools/test/tools/javac/failover/FailOver07.java
author mcimadamore
Tue, 07 Sep 2010 17:33:43 +0100
changeset 6594 d43f068fba19
child 39601 5b37e511ae4b
permissions -rw-r--r--
6970584: Flow.java should be more error-friendly Summary: Added a post-attribution visitor that fixup uninitialized types/symbol in AST after erroneous attribution Reviewed-by: jjg

/*
 * @test /nodynamiccopyright/
 * @bug 6970584
 * @summary Flow.java should be more error-friendly
 * @author mcimadamore
 *
 * @compile/fail/ref=FailOver07.out -XDrawDiagnostics -XDshouldStopPolicy=FLOW -XDdev FailOver07.java
 */

class Test extends Test {
    Integer x = 1;
    { do {} while (x); }
}