jdk-24/test/langtools/tools/doclint/SyntaxTest.java
Jonathan Gibbons ae45592d33 8272374: doclint should report missing "body" comments
Reviewed-by: kcr, hannesw
2021-08-16 20:48:25 +00:00

22 lines
433 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8004832
* @summary Add new doclint package
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -Xmsgs:-syntax SyntaxTest.java
* @run main DocLintTester -ref SyntaxTest.out SyntaxTest.java
*/
/** . */
public class SyntaxTest {
/**
* a < b
*/
public void syntax_error() { }
/** . */
private SyntaxTest() { }
}