test/tools/javac/processing/6994946/SemanticErrorTest.java

changeset 726
2974d3800eb1
child 1466
b52a38d4536c
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/javac/processing/6994946/SemanticErrorTest.java	Thu Oct 28 18:58:43 2010 -0700
     1.3 @@ -0,0 +1,13 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug 6994946
     1.7 + * @summary option to specify only syntax errors as unrecoverable
     1.8 + * @library ../../lib
     1.9 + * @build JavacTestingAbstractProcessor TestProcessor
    1.10 + * @compile/fail/ref=SemanticErrorTest.1.out -XDrawDiagnostics                                  -processor TestProcessor SemanticErrorTest.java
    1.11 + * @compile/fail/ref=SemanticErrorTest.2.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SemanticErrorTest.java
    1.12 + */
    1.13 +
    1.14 +class SemanticErrorTest implements Runnable, Runnable {
    1.15 +    public void run() { }
    1.16 +}

mercurial