langtools/test/tools/doclint/MissingReturnTest.java
author jjg
Tue, 15 Jan 2013 13:03:11 -0800
changeset 15359 a73dcb8dcbae
parent 14962 19ffdfafbcd2
child 30730 d3ce7619db2c
permissions -rw-r--r--
8006224: Doclint NPE for attribute with no value Reviewed-by: darcy

/*
 * @test /nodynamiccopyright/
 * @bug 8004832
 * @summary Add new doclint package
 * @build DocLintTester
 * @run main DocLintTester -Xmsgs:-missing MissingReturnTest.java
 * @run main DocLintTester -Xmsgs:missing -ref MissingReturnTest.out MissingReturnTest.java
 */

/** . */
public class MissingReturnTest {
    /** no return allowed */
    MissingReturnTest() { }

    /** no return allowed */
    void return_void() { }

    /** no return required */
    Void return_Void() { }

    /** */
    int missingReturn() { }
}