jdk-24/langtools/test/tools/javac/processing/6994946/SyntaxErrorTest.java
Jonathan Gibbons 49e996e3c1 6994946: option to specify only syntax errors as unrecoverable
Reviewed-by: darcy, mcimadamore
2010-10-28 18:58:43 -07:00

14 lines
508 B
Java

/*
* @test /nodynamiccopyright/
* @bug 6994946
* @summary option to specify only syntax errors as unrecoverable
* @library ../../lib
* @build JavacTestingAbstractProcessor TestProcessor
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -processor TestProcessor SyntaxErrorTest.java
* @compile/fail/ref=SyntaxErrorTest.out -XDrawDiagnostics -XDonlySyntaxErrorsUnrecoverable -processor TestProcessor SyntaxErrorTest.java
*/
class SyntaxErrorTest {
int i
}