jdk-24/test/langtools/tools/javac/depDocComment/DeprecatedDocComment4.java
2017-09-12 19:03:39 +02:00

21 lines
440 B
Java

/**
* @test /nodynamiccopyright/
* @bug 7104201
* @summary Refactor DocCommentScanner
* @compile/fail/ref=DeprecatedDocComment4.out -XDrawDiagnostics -Werror -Xlint:dep-ann DeprecatedDocComment4.java
*/
class DeprecatedDocComment4 {
/** @deprecated **/
/* block */
void test1() {};
/** @deprecated **/
/** double javadoc */
void test2() {};
/** @deprecated **/
//line comment
void test3() {};
}