jdk-24/test/langtools/tools/doclint/SummaryTest.java
Jonathan Gibbons f765a7f513 8252712: move doclint to jdk.javadoc module
Reviewed-by: hannesw
2020-09-23 19:55:08 +00:00

20 lines
424 B
Java

/*
* @test /nodynamiccopyright/
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref SummaryTest.out SummaryTest.java
*/
/** No comment. */
public class SummaryTest {
/**
{@summary legal} **/
public void m0() {}
/** <p> {@summary illegal} **/
public void m1() {}
/** {@summary legal} text {@summary illegal} **/
public void m2() {}
}