langtools/test/tools/javac/Parens3.java
author duke
Wed, 05 Jul 2017 23:01:50 +0200
changeset 44228 e46434c65a2b
parent 26662 7cf828d7c8fc
permissions -rw-r--r--
Merge

/*
 * @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): ;
    }
}