langtools/test/tools/javac/Parens3.java
author prr
Mon, 13 Oct 2014 09:09:41 -0700 (2014-10-13)
changeset 27274 62de2c957523
parent 26662 7cf828d7c8fc
permissions -rw-r--r--
8059848: Test java/awt/GraphicsDevice/CloneConfigsTest.java causes JVM crash in OEL 7.0 Reviewed-by: bae, serb
/*
 * @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): ;
    }
}