langtools/test/tools/doclint/LiteralTest.java
author naoto
Tue, 29 Mar 2016 17:06:33 -0700
changeset 36739 145210aba850
parent 30730 d3ce7619db2c
permissions -rw-r--r--
8152704: jlink command line output/help message improvement Reviewed-by: mchung

/*
 * @test /nodynamiccopyright/
 * @bug 8006228
 * @summary Doclint doesn't detect <code> {@code nested inline} </code>
 * @modules jdk.compiler/com.sun.tools.doclint
 * @build DocLintTester
 * @run main DocLintTester -ref LiteralTest.out LiteralTest.java
 */

/** */
public class LiteralTest {
    /** <code> abc {@literal < & > } def </code> */
    public void ok_literal_in_code() { }

    /** <code> abc {@code < & > } def </code> */
    public void bad_code_in_code() { }
}