langtools/test/tools/javac/LabeledDeclaration.java
changeset 26993 513b2cae81c3
parent 26529 10ec5e52bf75
equal deleted inserted replaced
26992:92e69fa21956 26993:513b2cae81c3
     1 /*
     1 /*
     2  * @test  /nodynamiccopyright/
     2  * @test  /nodynamiccopyright/
     3  * @bug 4039843
     3  * @bug 4039843 8057652
     4  * @summary The compiler should not allow labeled declarations.
     4  * @summary The compiler should not allow labeled declarations.
     5  * @author turnidge
     5  * @author turnidge
     6  *
     6  *
     7  * @compile/fail/ref=LabeledDeclaration.out -XDrawDiagnostics  LabeledDeclaration.java
     7  * @compile/fail/ref=LabeledDeclaration.out -XDrawDiagnostics  LabeledDeclaration.java
     8  */
     8  */