langtools/test/tools/javac/Parens3.java
author hseigel
Tue, 26 Jul 2016 08:23:25 -0400 (2016-07-26)
changeset 43178 6fb98b21d035
parent 26662 7cf828d7c8fc
permissions -rw-r--r--
8161218: Better bytecode loading Reviewed-by: acorn, mschoene, ctornqvi Contributed-by: harold.seigel@oracle.com
/*
 * @test /nodynamiccopyright/
 * @bug 4394546
 * @summary get no err msg if label wrapped in parentheses
 * @author gafter
 *
 * @compile/fail/ref=Parens3.out -XDrawDiagnostics Parens3.java
 */

class Parens3 {
    void f() {
    (foo): ;
    }
}