langtools/test/tools/doclint/MissingReturnTest.java
author katleman
Tue, 21 Jan 2014 18:17:23 -0800
changeset 22365 895bfde469d4
parent 14962 19ffdfafbcd2
child 30730 d3ce7619db2c
permissions -rw-r--r--
Added tag jdk9-b01 for changeset ae2d94255f32

/*
 * @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() { }
}