jdk-24/langtools/test/tools/doclint/tidy/AnchorAlreadyDefined.java
Jonathan Gibbons e2bd09e6f6 8005307: fix missing @bug tags
Reviewed-by: jjh
2012-12-20 17:59:46 +00:00

18 lines
402 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8004832
* @summary Add new doclint package
* @library ..
* @build DocLintTester
* @run main DocLintTester -ref AnchorAlreadyDefined.out AnchorAlreadyDefined.java
*/
// tidy: Warning: <.*> anchor ".*" already defined
/**
* <a name="here">valid</a>
* <a name="here">duplicate</a>
* <h1 id="here">duplicate</h1>
*/
public class AnchorAlreadyDefined { }